We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f54e61 commit 68a6dd3Copy full SHA for 68a6dd3
src/backoff.rs
@@ -7,7 +7,7 @@ use std::time::Duration;
7
8
pub const DEFAULT_REGION_BACKOFF: Backoff = Backoff::no_jitter_backoff(2, 500, 10);
9
pub const OPTIMISTIC_BACKOFF: Backoff = Backoff::no_jitter_backoff(2, 500, 10);
10
-pub const PESSIMISTIC_BACKOFF: Backoff = Backoff::no_backoff();
+pub const PESSIMISTIC_BACKOFF: Backoff = Backoff::no_jitter_backoff(2, 500, 10);
11
12
/// When a request is retried, we can backoff for some time to avoid saturating the network.
13
///
0 commit comments