RetryStrategy allows to customise the lock retry strategy.
| 7 | |
| 8 | // RetryStrategy allows to customise the lock retry strategy. |
| 9 | type RetryStrategy interface { |
| 10 | // NextBackoff returns the next backoff duration. |
| 11 | NextBackoff() time.Duration |
| 12 | } |
| 13 | |
| 14 | type linearBackoff time.Duration |
| 15 |
no outgoing calls
no test coverage detected