Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
陈曦
sub2api
Commits
9abdaed2
Commit
9abdaed2
authored
Mar 27, 2026
by
erio
Browse files
style: gofmt antigravity_internal500_penalty.go
parent
eb94342f
Changes
1
Hide whitespace changes
Inline
Side-by-side
backend/internal/service/antigravity_internal500_penalty.go
View file @
9abdaed2
...
...
@@ -13,7 +13,7 @@ import (
// INTERNAL 500 渐进惩罚:连续多轮全部返回特定 500 错误时的惩罚时长
const
(
internal500PenaltyTier1Duration
=
30
*
time
.
Minute
// 第 1 轮:临时不可调度 30 分钟
internal500PenaltyTier2Duration
=
2
*
time
.
Hour
// 第 2 轮:临时不可调度 2 小时
internal500PenaltyTier2Duration
=
2
*
time
.
Hour
// 第 2 轮:临时不可调度 2 小时
internal500PenaltyTier3Threshold
=
3
// 第 3+ 轮:永久禁用
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment