This commit is contained in:
annehwatson 2018-12-10 20:16:17 -08:00
parent 486f407b1d
commit 0a8a07f666

View File

@ -93,7 +93,7 @@ type ApplyOptions struct {
const ( const (
// maxPatchRetry is the maximum number of conflicts retry for during a patch operation before returning failure // maxPatchRetry is the maximum number of conflicts retry for during a patch operation before returning failure
maxPatchRetry = 5 maxPatchRetry = 5
// backOffPeriod is the period to back off when apply patch resutls in error. // backOffPeriod is the period to back off when apply patch results in error.
backOffPeriod = 1 * time.Second backOffPeriod = 1 * time.Second
// how many times we can retry before back off // how many times we can retry before back off
triesBeforeBackOff = 1 triesBeforeBackOff = 1