src/server/pkg/obj/obj.go
func NewExponentialBackOffConfig() *backoff.ExponentialBackOff {
	config := backoff.NewExponentialBackOff()
	// We want to backoff more aggressively (i.e. wait longer) than the default
	config.InitialInterval = 1 * time.Second
	config.Multiplier = 2
	config.MaxInterval = 15 * time.Minute
	return config
}
func NewExponentialBackOffConfig() *backoff.ExponentialBackOff {
	config := backoff.NewExponentialBackOff()
	// We want to backoff more aggressively (i.e. wait longer) than the default
	config.InitialInterval = 1 * time.Second
	config.Multiplier = 2
	config.MaxInterval = 15 * time.Minute
	return config
}
func NewExponentialBackOffConfig ( ) * backoff . ExponentialBackOff { config := backoff . NewExponentialBackOff ( ) // We want to backoff more aggressively (i.e. wait longer) than the default config . InitialInterval = 1 * time . Second config . Multiplier = 2 config . MaxInterval = 15 * time . Minute return config }
// NewExponentialBackOffConfig creates an exponential back-off config with
// longer wait times than the default.
NewExponentialBackOffConfig creates an exponential back - off config with longer wait times than the default .