File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ func TestProvideCleanup_WithMinimalDependencies_NoPanic(t *testing.T) {
3737 nil ,
3838 nil ,
3939 cfg ,
40+ nil ,
4041 )
4142 accountExpirySvc := service .NewAccountExpiryService (nil , time .Second )
4243 subscriptionExpirySvc := service .NewSubscriptionExpiryService (nil , time .Second )
Original file line number Diff line number Diff line change @@ -872,7 +872,7 @@ type DefaultConfig struct {
872872}
873873
874874type RateLimitConfig struct {
875- OverloadCooldownMinutes int `mapstructure:"overload_cooldown_minutes"` // 529过载冷却时间(分钟)
875+ OverloadCooldownMinutes int `mapstructure:"overload_cooldown_minutes"` // 529过载冷却时间(分钟)
876876 OAuth401CooldownMinutes int `mapstructure:"oauth_401_cooldown_minutes"` // OAuth 401临时不可调度冷却(分钟)
877877}
878878
Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ type TokenRefreshService struct {
1818 refreshers []TokenRefresher
1919 cfg * config.TokenRefreshConfig
2020 cacheInvalidator TokenCacheInvalidator
21- schedulerCache SchedulerCache // 用于同步更新调度器缓存,解决 token 刷新后缓存不一致问题
22- tempUnschedCache TempUnschedCache // 用于清除 Redis 中的临时不可调度缓存
21+ schedulerCache SchedulerCache // 用于同步更新调度器缓存,解决 token 刷新后缓存不一致问题
22+ tempUnschedCache TempUnschedCache // 用于清除 Redis 中的临时不可调度缓存
2323
2424 stopCh chan struct {}
2525 wg sync.WaitGroup
You can’t perform that action at this time.
0 commit comments