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 run: overload error without retryAfterMS -> 100ms + 200ms = 300ms with jitter = 1.
191
+
// Exponential backoff run: overload error without baseBackoffMS -> 100ms + 200ms = 300ms with jitter = 1.
192
192
var exponentialException = CoreExceptionHelper.CreateMongoCommandExceptionWithLabels(462,"SystemOverloadedError","RetryableError");
193
193
var exponentialMs =awaitMeasureBackoff(async,executeSync,executeAsync,operationContext,createOperation(exponentialException),createContext(fullJitterRandom.Object));
194
194
195
-
// retryAfterMS override run: overload error with retryAfterMS = 50 -> 50ms + 100ms = 150ms with jitter = 1.
196
-
var overrideResult = BsonDocument.Parse("{ ok : 0, code : 462, retryAfterMS : 50 }");
195
+
// baseBackoffMS override run: overload error with baseBackoffMS = 50 -> 50ms + 100ms = 150ms with jitter = 1.
196
+
var overrideResult = BsonDocument.Parse("{ ok : 0, code : 462, baseBackoffMS : 50 }");
0 commit comments