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 6d8382b commit 0697266Copy full SHA for 0697266
src/io/vss_store.rs
@@ -48,9 +48,9 @@ impl VssStore {
48
pub(crate) fn new(base_url: String, store_id: String, data_encryption_key: [u8; 32]) -> Self {
49
let runtime = tokio::runtime::Builder::new_multi_thread().enable_all().build().unwrap();
50
let storable_builder = StorableBuilder::new(data_encryption_key, RandEntropySource);
51
- let retry_policy = ExponentialBackoffRetryPolicy::new(Duration::from_millis(100))
52
- .with_max_attempts(3)
53
- .with_max_total_delay(Duration::from_secs(2))
+ let retry_policy = ExponentialBackoffRetryPolicy::new(Duration::from_millis(50))
+ .with_max_attempts(6)
+ .with_max_total_delay(Duration::from_secs(7))
54
.with_max_jitter(Duration::from_millis(50))
55
.skip_retry_on_error(Box::new(|e: &VssError| {
56
matches!(
0 commit comments