We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 378f662 + 84cb3dc commit f840fbaCopy full SHA for f840fba
1 file changed
operator/identitygc/gc.go
@@ -147,8 +147,10 @@ func registerGC(p params) {
147
// CRD mode GC runs in an additional goroutine
148
gc.mgr.RemoveAllAndWait()
149
}
150
- gc.rateLimiter.Stop()
+ // Close the worker pool first to ensure all goroutines complete
151
+ // before stopping the rate limiter they depend on
152
gc.wp.Close()
153
+ gc.rateLimiter.Stop()
154
155
return nil
156
},
0 commit comments