From 0f0526cd6a672568115af41e73e4a2308ff5ac68 Mon Sep 17 00:00:00 2001 From: Damien Grisonnet Date: Fri, 9 Sep 2022 16:24:51 +0200 Subject: [PATCH] endpointslice: update max sync backoff Update the maximum sync backoff value to 1000s to match the sequence of delays expected by the endpointslice controller when syncing Services: Before this change the sequence was: > 1s, 2s, 4s, 8s, 16s, 32s, 64s, 100s Now it is: > 1s, 2s, 4s, 8s, 16s, 32s, 64s, 128s, 256s, 512s, 1000s Signed-off-by: Damien Grisonnet --- pkg/controller/endpointslice/endpointslice_controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/controller/endpointslice/endpointslice_controller.go b/pkg/controller/endpointslice/endpointslice_controller.go index 65684e6931d..ed1768e4433 100644 --- a/pkg/controller/endpointslice/endpointslice_controller.go +++ b/pkg/controller/endpointslice/endpointslice_controller.go @@ -69,7 +69,7 @@ const ( // defaultSyncBackOff is the default backoff period for syncService calls. defaultSyncBackOff = 1 * time.Second // maxSyncBackOff is the max backoff period for syncService calls. - maxSyncBackOff = 100 * time.Second + maxSyncBackOff = 1000 * time.Second // controllerName is a unique value used with LabelManagedBy to indicated // the component managing an EndpointSlice.