chore(leaderboard): 用户排行榜当天快照刷新间隔默认调整为半天
ADMIN_LEADERBOARD_TODAY_TTL_SECONDS 默认值 300s -> 43200s, 当天数据约每半天重算一次;调度器 tick、凌晨定稿与手动“刷新当天”不变。 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e684de30bd
commit
bebe4feccf
2 files changed
+2
-2
No files matched your search
@@ -82,7 +82,7 @@ _LEADERBOARD_DAILY_SNAPSHOT_LIMIT = max(
|
||||
)
|
||||
_LEADERBOARD_TODAY_TTL_SECONDS = max(
|
||||
30.0,
|
||||
float(os.getenv("ADMIN_LEADERBOARD_TODAY_TTL_SECONDS", "300")),
|
||||
float(os.getenv("ADMIN_LEADERBOARD_TODAY_TTL_SECONDS", "43200")),
|
||||
)
|
||||
_LEADERBOARD_QUERY_TIMEOUT_MS = max(
|
||||
500,
|
||||
|
||||
Reference in new issue
Block a user