Skip to content

Commit 078a26f

Browse files
authored
Merge pull request #82 from getAlby/chore/bump-timeouts
chore: bump timeouts
2 parents 41b73c6 + 7f88c9a commit 078a26f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/config.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,16 +67,16 @@ pub(crate) const NODE_ANN_BCAST_INTERVAL: Duration = Duration::from_secs(60 * 60
6767
pub(crate) const WALLET_SYNC_INTERVAL_MINIMUM_SECS: u64 = 10;
6868

6969
// The timeout after which we abort a wallet syncing operation.
70-
pub(crate) const BDK_WALLET_SYNC_TIMEOUT_SECS: u64 = 20; // Alby: originally 90
70+
pub(crate) const BDK_WALLET_SYNC_TIMEOUT_SECS: u64 = 40; //20; // Alby: originally 90
7171

7272
// The timeout after which we abort a wallet syncing operation.
73-
pub(crate) const LDK_WALLET_SYNC_TIMEOUT_SECS: u64 = 10; // Alby: originally 90
73+
pub(crate) const LDK_WALLET_SYNC_TIMEOUT_SECS: u64 = 20; //10; // Alby: originally 90
7474

7575
// The timeout after which we give up waiting on LDK's event handler to exit on shutdown.
76-
pub(crate) const LDK_EVENT_HANDLER_SHUTDOWN_TIMEOUT_SECS: u64 = 30;
76+
pub(crate) const LDK_EVENT_HANDLER_SHUTDOWN_TIMEOUT_SECS: u64 = 60; // 30;
7777

7878
// The timeout after which we give up waiting on a background task to exit on shutdown.
79-
pub(crate) const BACKGROUND_TASK_SHUTDOWN_TIMEOUT_SECS: u64 = 5;
79+
pub(crate) const BACKGROUND_TASK_SHUTDOWN_TIMEOUT_SECS: u64 = 20; //5;
8080

8181
// The timeout after which we abort a fee rate cache update operation.
8282
pub(crate) const FEE_RATE_CACHE_UPDATE_TIMEOUT_SECS: u64 = 10; //5;

0 commit comments

Comments
 (0)