Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultRetry = wait.Backoff{ Steps: envutil.LookupEnvIntOr("RETRY_BACKOFF_STEPS", 5), Duration: envutil.LookupEnvDurationOr("RETRY_BACKOFF_DURATION", 10*time.Millisecond), Factor: envutil.LookupEnvFloatOr("RETRY_BACKOFF_FACTOR", 2.), }
DefaultRetry is a default retry backoff settings when retrying API calls Retry Seconds
1 0.01 2 0.03 3 0.07 4 0.15 5 0.31
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.