Skip to content

Commit

Permalink
Merge pull request #743 from opensafely-core/evansd/local-run-db-workers
Browse files Browse the repository at this point in the history
Set MAX_DB_WORKER limit in `local_run`
  • Loading branch information
evansd authored Oct 1, 2024
2 parents 4d08e64 + e9be162 commit c100586
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jobrunner/cli/local_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ def create_and_run_jobs(
config.USING_DUMMY_DATA_BACKEND = True
config.CLEAN_UP_DOCKER_OBJECTS = clean_up_docker_objects
config.MAX_WORKERS = concurrency
config.MAX_DB_WORKERS = concurrency
config.DEFAULT_JOB_MEMORY_LIMIT = memory
config.DEFAULT_JOB_CPU_COUNT = cpus

Expand Down

0 comments on commit c100586

Please sign in to comment.