package
1.5.3
Repository: https://github.com/flant/shell-operator.git
Documentation: pkg.go.dev

# Functions

CalculateDelay returns delay distributed from initialDelay to default maxDelay (32s) Example: Retry 0: 5s Retry 1: 6s Retry 2: 7.8s Retry 3: 9.8s Retry 4: 13s Retry 5: 21s Retry 6: 32s Retry 7: 32s.
CalculateDelayWithMax returns delay distributed from initialDelay to maxDelay based on retryCount number.

# Constants

Each delta delay is twice bigger.
Each delay has random additional milliseconds.
No description provided by the author

# Variables

ExponentialCalculationsCount counts of exponential calculations before return max delay to prevent overflow with big numbers.