perf(account): 提升能力补扫与登录恢复吞吐
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user