Skip to content

Commit

Permalink
Merge pull request #519 from jetstack/release-0.2-adjust-backoff
Browse files Browse the repository at this point in the history
Update exponential backoff base to 5s and max to 5m
  • Loading branch information
jetstack-bot committed Apr 26, 2018
2 parents dab1d42 + f165418 commit e733218
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller/certificates/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func New(
) *Controller {
ctrl := &Controller{client: client, cmClient: cmClient, issuerFactory: issuerFactory, recorder: recorder}
ctrl.syncHandler = ctrl.processNextWorkItem
ctrl.queue = workqueue.NewNamedRateLimitingQueue(workqueue.NewItemExponentialFailureRateLimiter(time.Second*2, time.Minute*1), "certificates")
ctrl.queue = workqueue.NewNamedRateLimitingQueue(workqueue.NewItemExponentialFailureRateLimiter(time.Second*5, time.Minute*5), "certificates")
// Create a scheduled work queue that calls the ctrl.queue.Add method for
// each object in the queue. This is used to schedule re-checks of
// Certificate resources when they get near to expiry
Expand Down

0 comments on commit e733218

Please sign in to comment.