perf(account): 提升能力补扫与登录恢复吞吐

This commit is contained in:
yml
2026-11-28 21:51:22 +08:00
parent ab49def623
commit a9506b77d1
13 changed files with 94 additions and 20 deletions
+2 -2
View File
@@ -125,8 +125,8 @@ def register_default_jobs() -> None:
interval_seconds=60,
run_interval_seconds=60,
# 有效 CK 的 storehome 快照默认 6 小时过期;1 万多个账号需要
# 至少约 30 条/分钟才能在一个 TTL 周期内补完,留出 40 条余量。
batch_size=40,
# 至少约 30 条/分钟才能在一个 TTL 周期内补完,留出 60 条余量。
batch_size=60,
concurrency=3,
run=run_account_sync_queue_job,
default_enabled=True,
@@ -37,7 +37,7 @@ from ...platform_fulfillment.policy import (
)
JOB_KEY = "account_capability_refresh"
DEFAULT_BACKFILL_RESERVED_SLOTS = 8
DEFAULT_BACKFILL_RESERVED_SLOTS = 20
def _pending_demand_rows(