chore: 完善捞瓶重试配置与超时
This commit is contained in:
@@ -21,4 +21,10 @@ REFRESH_ATTEMPT_IP_WINDOW_SECONDS=60
|
||||
REFRESH_RATE_LIMIT=60
|
||||
SMS_CODE_TTL_SECONDS=300
|
||||
REDIS_KEY_PREFIX=drift:auth:
|
||||
# Overall pick retry budget and attempt cap; keep bounded to protect API latency/DB load.
|
||||
MATCH_PICK_RETRY_BUDGET_MS=5000
|
||||
MATCH_PICK_MAX_ATTEMPTS=64
|
||||
# Each pick/winner-read transaction is capped and further reduced to its remaining budget.
|
||||
MATCH_PICK_TRANSACTION_MAX_WAIT_MS=1000
|
||||
MATCH_PICK_TRANSACTION_TIMEOUT_MS=2000
|
||||
TRUST_PROXY=false
|
||||
|
||||
Reference in New Issue
Block a user