File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -48,9 +48,9 @@ impl VssStore {
48
48
pub ( crate ) fn new ( base_url : String , store_id : String , data_encryption_key : [ u8 ; 32 ] ) -> Self {
49
49
let runtime = tokio:: runtime:: Builder :: new_multi_thread ( ) . enable_all ( ) . build ( ) . unwrap ( ) ;
50
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 ) )
51
+ let retry_policy = ExponentialBackoffRetryPolicy :: new ( Duration :: from_millis ( 50 ) )
52
+ . with_max_attempts ( 6 )
53
+ . with_max_total_delay ( Duration :: from_secs ( 7 ) )
54
54
. with_max_jitter ( Duration :: from_millis ( 50 ) )
55
55
. skip_retry_on_error ( Box :: new ( |e : & VssError | {
56
56
matches ! (
You can’t perform that action at this time.
0 commit comments