fix: 修复 PR #723 引入的 CI lint 和 test 编译错误

- wire_gen_test.go: 补充 NewTokenRefreshService 缺失的 tempUnschedCache 参数
- config.go, token_refresh_service.go: 修复 gofmt 格式问题
This commit is contained in:
shaw
2026-03-03 16:45:29 +08:00
parent 197c570baa
commit ccf6a921c7
3 changed files with 4 additions and 3 deletions

View File

@@ -872,7 +872,7 @@ type DefaultConfig struct {
}
type RateLimitConfig struct {
OverloadCooldownMinutes int `mapstructure:"overload_cooldown_minutes"` // 529过载冷却时间(分钟)
OverloadCooldownMinutes int `mapstructure:"overload_cooldown_minutes"` // 529过载冷却时间(分钟)
OAuth401CooldownMinutes int `mapstructure:"oauth_401_cooldown_minutes"` // OAuth 401临时不可调度冷却(分钟)
}