Skip to content

Commit 1955cd5

Browse files
authored
Merge pull request #79 from getAlby/chore/bump-vss-retry-policy
Chore/bump vss retry policy
2 parents 7ada683 + 2d1db61 commit 1955cd5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/io/vss_store.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,10 @@ impl VssStore {
6262
let key_obfuscator = KeyObfuscator::new(obfuscation_master_key);
6363
let storable_builder = StorableBuilder::new(data_encryption_key, RandEntropySource);
6464
let retry_policy = ExponentialBackoffRetryPolicy::new(Duration::from_millis(10))
65-
.with_max_attempts(10)
66-
.with_max_total_delay(Duration::from_secs(15))
65+
//.with_max_attempts(10)
66+
.with_max_attempts(15) // Alby: account for unexpected networking errors
67+
//.with_max_total_delay(Duration::from_secs(15))
68+
.with_max_total_delay(Duration::from_secs(180)) // Alby: account for unexpected networking errors
6769
.with_max_jitter(Duration::from_millis(10))
6870
.skip_retry_on_error(Box::new(|e: &VssError| {
6971
matches!(

0 commit comments

Comments
 (0)