Commit eb94342f authored by erio's avatar erio
Browse files

chore: adjust internal500 penalty durations to 30m / 2h

parent d563eb23
......@@ -12,8 +12,8 @@ import (
// INTERNAL 500 渐进惩罚:连续多轮全部返回特定 500 错误时的惩罚时长
const (
internal500PenaltyTier1Duration = 10 * time.Minute // 第 1 轮:临时不可调度 10 分钟
internal500PenaltyTier2Duration = 10 * time.Hour // 第 2 轮:临时不可调度 10 小时
internal500PenaltyTier1Duration = 30 * time.Minute // 第 1 轮:临时不可调度 30 分钟
internal500PenaltyTier2Duration = 2 * time.Hour // 第 2 轮:临时不可调度 2 小时
internal500PenaltyTier3Threshold = 3 // 第 3+ 轮:永久禁用
)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment