Skip to content

Commit

Permalink
Add context to drain functions
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Sch <[email protected]>
  • Loading branch information
SchSeba committed May 29, 2022
1 parent 83d6b44 commit a1fa0cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/daemon/daemon.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ func New(
},
Out: writer{glog.Info},
ErrOut: writer{glog.Error},
Ctx: context.Background(),
},
workqueue: workqueue.NewNamedRateLimitingQueue(workqueue.NewMaxOfRateLimiter(
&workqueue.BucketRateLimiter{Limiter: rate.NewLimiter(rate.Limit(updateDelay), 1)},
Expand Down

0 comments on commit a1fa0cc

Please sign in to comment.