Skip to content

Commit 2d1db61

Browse files
committed
fix: formatting
1 parent 7f82ce5 commit 2d1db61

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

src/io/vss_store.rs

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,7 @@ impl VssStore {
6161
derive_data_encryption_and_obfuscation_keys(&vss_seed);
6262
let key_obfuscator = KeyObfuscator::new(obfuscation_master_key);
6363
let storable_builder = StorableBuilder::new(data_encryption_key, RandEntropySource);
64-
let retry_policy: FilteredRetryPolicy<
65-
JitteredRetryPolicy<
66-
MaxTotalDelayRetryPolicy<
67-
MaxAttemptsRetryPolicy<ExponentialBackoffRetryPolicy<VssError>>,
68-
>,
69-
>,
70-
Box<dyn Fn(&VssError) -> bool + Send + Sync + 'static>,
71-
> = ExponentialBackoffRetryPolicy::new(Duration::from_millis(10))
64+
let retry_policy = ExponentialBackoffRetryPolicy::new(Duration::from_millis(10))
7265
//.with_max_attempts(10)
7366
.with_max_attempts(15) // Alby: account for unexpected networking errors
7467
//.with_max_total_delay(Duration::from_secs(15))

0 commit comments

Comments
 (0)