diff options
| author | JP Dillingham <jp@dillingham.me> | 2026-02-17 22:10:12 -0600 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2026-03-15 11:12:40 -0500 |
| commit | db77adb4c086fe1166449c13af88e2e3bef6590a (patch) | |
| tree | faf6d20af8ce974079e2ae4275a6c775c4b6721f /src | |
| parent | 41032280e1fe34aa09707b3d3d116e11b794f727 (diff) | |
| download | slskd-db77adb4c086fe1166449c13af88e2e3bef6590a.tar.gz | |
add base delay
Diffstat (limited to 'src')
| -rw-r--r-- | src/slskd/Common/Retry.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/slskd/Common/Retry.cs b/src/slskd/Common/Retry.cs index d026a0c4..457d32fb 100644 --- a/src/slskd/Common/Retry.cs +++ b/src/slskd/Common/Retry.cs @@ -35,6 +35,7 @@ namespace slskd /// <param name="onRetry">An action to execute before beginning a retry attempt.</param> /// <param name="onFailure">An action to execute on failure.</param> /// <param name="maxAttempts">The maximum number of retry attempts.</param> + /// <param name="baseDelayInMilliseconds">The base delay in milliseconds.</param> /// <param name="maxDelayInMilliseconds">The maximum delay in milliseconds.</param> /// <param name="cancellationToken">The token to monitor for cancellation requests.</param> /// <returns>The execution context.</returns> @@ -63,6 +64,7 @@ namespace slskd /// <param name="onRetry">An action to execute before beginning a retry attempt.</param> /// <param name="onFailure">An action to execute on failure.</param> /// <param name="maxAttempts">The maximum number of retry attempts.</param> + /// <param name="baseDelayInMilliseconds">The base delay in milliseconds.</param> /// <param name="maxDelayInMilliseconds">The maximum delay in milliseconds.</param> /// <param name="cancellationToken">The token to monitor for cancellation requests.</param> /// <typeparam name="T">The Type of the logic return value.</typeparam> |
