You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Exponential backoff is used for background jobs. Given current values, exponential backoff is used for the first 10 retries. After that a fixed wait time of_exponentialMaxDelayMs (60 seconds) is used.
85
+
// Jitter is multiplied by the retry attempt to increase the randomness of the retry interval for longer retry delays (especially retry > 10).
80
86
if(useExponentialRetry)
81
87
{
82
-
// Exponential backoff with jitter
83
-
varbackoff=Math.Pow(2,retryAttempt)*100;// Exponential backoff in milliseconds
84
-
varjitter=RandomNumberGenerator.GetInt32(0,300);// Add jitter in milliseconds
88
+
// Calculate exponential backoff with a cap of 60 seconds
0 commit comments