perf(worker): 调高斗鱼任务与批次执行并发默认上限

This commit is contained in:
yml
2026-11-28 14:23:57 +08:00
parent 2013a9bdeb
commit 82f2cc21ac
11 changed files with 96 additions and 112 deletions
+1 -1
View File
@@ -1888,7 +1888,7 @@ class DouyuTaskBatchRequest(BaseModel):
account_ids: list[int]
task_type: str
handbook_scope: str = Field(..., pattern="^(elite|esports|peace)$")
concurrency: int = Field(3, ge=1, le=10)
concurrency: int = Field(5, ge=1, le=15)
payload: dict[str, Any] = Field(default_factory=dict)
platform_task_id: int | None = Field(None, gt=0)
recharge_confirmation_token: str | None = Field(None, max_length=64)