PeanutButter
|
Default backoff strategy for retries: linear, 100ms per attempt. More...
Public Member Functions | |||
void | Backoff (int attempt) | ||
Waits for an amount of time relevant to the attempt.
|
Static Public Attributes | |
const int | BACKOFF_MILLISECONDS = 100 |
The number of milliseconds this will back off with after each failure. |
Default backoff strategy for retries: linear, 100ms per attempt.
void PeanutButter.Utils.DefaultBackoffStrategy.Backoff | ( | int | attempt | ) |
Waits for an amount of time relevant to the attempt.
attempt |
Implements PeanutButter.Utils.IBackoffStrategy.