perf(worker): 调高斗鱼任务与批次执行并发默认上限
This commit is contained in:
@@ -25,9 +25,9 @@ def _env_positive_int(name: str, default: int) -> int:
|
||||
|
||||
DOUYU_BATCH_CREATE_CONCURRENCY = _env_positive_int(
|
||||
"DOUYU_BATCH_CREATE_CONCURRENCY",
|
||||
2,
|
||||
4,
|
||||
)
|
||||
DOUYU_MAX_ACTIVE_BATCHES = _env_positive_int("DOUYU_MAX_ACTIVE_BATCHES", 10)
|
||||
DOUYU_MAX_ACTIVE_BATCHES = _env_positive_int("DOUYU_MAX_ACTIVE_BATCHES", 25)
|
||||
|
||||
|
||||
def _run_batch(
|
||||
|
||||
Reference in New Issue
Block a user