Skip to content

Commit

Permalink
Cloud Service: Pass worker params (#201)
Browse files Browse the repository at this point in the history
* Fix initialization fields

* Leave disk sync on

* Expect variables
  • Loading branch information
haroldrubio authored Jan 4, 2025
1 parent 2974db2 commit df8e100
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions expertise/service/expertise.py
Original file line number Diff line number Diff line change
Expand Up @@ -760,8 +760,8 @@ def __init__(self, config, logger, containerized = False):
logger=logger,
containerized=containerized,
sync_on_disk=True, # We want to store jobs on disk
worker_concurrency=None,
worker_lock_duration=None,
worker_concurrency=config['ACTIVE_JOBS'],
worker_lock_duration=config['LOCK_DURATION'],
worker_autorun=False # If that is what you originally had
)
self.poll_interval = config['POLL_INTERVAL']
Expand Down

0 comments on commit df8e100

Please sign in to comment.