Skip to content

Commit 19a833b

Browse files
committed
missing constant
1 parent 0821c4e commit 19a833b

File tree

1 file changed

+4
-1
lines changed
  • services/director-v2/src/simcore_service_director_v2/modules/comp_scheduler

1 file changed

+4
-1
lines changed

services/director-v2/src/simcore_service_director_v2/modules/comp_scheduler/_scheduler_dask.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@
5252
CompRunsRepository,
5353
)
5454
from ..db.repositories.comp_tasks import CompTasksRepository
55+
from ._constants import (
56+
MAX_CONCURRENT_PIPELINE_SCHEDULING,
57+
)
5558
from ._scheduler_base import BaseCompScheduler
5659
from ._utils import (
5760
WAITING_FOR_START_STATES,
@@ -313,7 +316,7 @@ async def _process_completed_tasks(
313316
)
314317
for task, result in zip(tasks, tasks_results, strict=True)
315318
),
316-
limit=10,
319+
limit=MAX_CONCURRENT_PIPELINE_SCHEDULING,
317320
):
318321
with log_catch(_logger, reraise=False):
319322
task_can_be_cleaned, job_id = await future

0 commit comments

Comments
 (0)