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 {
4848 pub ( crate ) fn new ( base_url : String , store_id : String , data_encryption_key : [ u8 ; 32 ] ) -> Self {
4949 let runtime = tokio:: runtime:: Builder :: new_multi_thread ( ) . enable_all ( ) . build ( ) . unwrap ( ) ;
5050 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 ) )
5454 . with_max_jitter ( Duration :: from_millis ( 50 ) )
5555 . skip_retry_on_error ( Box :: new ( |e : & VssError | {
5656 matches ! (
You can’t perform that action at this time.
0 commit comments