mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-04-20 07:25:51 -04:00
constellation-node-operator: use typed rate-limiter
The untyped rate-limiter was deprecated in favor of a generic one that can just be instantiated to `any` to achieve the previous behaviour.
This commit is contained in:
parent
705a6895fb
commit
d97bc86dec
@ -205,7 +205,7 @@ func (c *Config) applyDefaults() {
|
||||
c.PollingFrequency = defaultPollingFrequency
|
||||
}
|
||||
if c.RateLimiter == nil {
|
||||
c.RateLimiter = workqueue.DefaultControllerRateLimiter()
|
||||
c.RateLimiter = workqueue.DefaultTypedControllerRateLimiter[any]()
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user