File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ type CustomRetryPolicy = FilteredRetryPolicy<
4646// We set this to a small number of threads that would still allow to make some progress if one
4747// would hit a blocking case
4848const INTERNAL_RUNTIME_WORKERS : usize = 2 ;
49- const VSS_IO_TIMEOUT : Duration = Duration :: from_secs ( 5 ) ;
49+ const VSS_IO_TIMEOUT : Duration = Duration :: from_secs ( 20 ) ;
5050
5151/// A [`KVStoreSync`] implementation that writes to and reads from a [VSS](https://github.com/lightningdevkit/vss-server/blob/main/README.md) backend.
5252pub struct VssStore {
@@ -335,9 +335,7 @@ impl VssStoreInner {
335335 let key_obfuscator = KeyObfuscator :: new ( obfuscation_master_key) ;
336336 let storable_builder = StorableBuilder :: new ( data_encryption_key, RandEntropySource ) ;
337337 let retry_policy = ExponentialBackoffRetryPolicy :: new ( Duration :: from_millis ( 10 ) )
338- . with_max_attempts ( 10 )
339- . with_max_total_delay ( Duration :: from_secs ( 15 ) )
340- . with_max_jitter ( Duration :: from_millis ( 10 ) )
338+ . with_max_total_delay ( VSS_IO_TIMEOUT )
341339 . skip_retry_on_error ( Box :: new ( |e : & VssError | {
342340 matches ! (
343341 e,
You can’t perform that action at this time.
0 commit comments