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