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 <dgrisonn@redhat.com>
This commit is contained in:
Damien Grisonnet 2022-09-09 16:24:51 +02:00
parent 67bde9a102
commit 0f0526cd6a

View File

@ -69,7 +69,7 @@ const (
// defaultSyncBackOff is the default backoff period for syncService calls. // defaultSyncBackOff is the default backoff period for syncService calls.
defaultSyncBackOff = 1 * time.Second defaultSyncBackOff = 1 * time.Second
// maxSyncBackOff is the max backoff period for syncService calls. // 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 // controllerName is a unique value used with LabelManagedBy to indicated
// the component managing an EndpointSlice. // the component managing an EndpointSlice.