From 189eec69d725694caf47dbad4db7af82870cde62 Mon Sep 17 00:00:00 2001 From: Michail Kargakis Date: Sun, 2 Apr 2017 21:33:51 +0200 Subject: [PATCH] Update deployment retries to a saner count --- pkg/controller/deployment/deployment_controller.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkg/controller/deployment/deployment_controller.go b/pkg/controller/deployment/deployment_controller.go index 54b85dbb4bc..d9319a5e176 100644 --- a/pkg/controller/deployment/deployment_controller.go +++ b/pkg/controller/deployment/deployment_controller.go @@ -52,7 +52,11 @@ import ( const ( // maxRetries is the number of times a deployment will be retried before it is dropped out of the queue. - maxRetries = 5 + // With the current rate-limiter in use (5ms*2^(maxRetries-1)) the following numbers represent the times + // a deployment is going to be requeued: + // + // 5ms, 10ms, 20ms, 40ms, 80ms, 160ms, 320ms, 640ms, 1.3s, 2.6s, 5.1s, 10.2s, 20.4s, 41s, 82s + maxRetries = 15 ) // controllerKind contains the schema.GroupVersionKind for this controller type.