Skip to content

Commit 777756f

Browse files
committed
Increase mempool check interval
1 parent 525b436 commit 777756f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

node/src/wallets.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ use crate::{checker::TxChecker, config::ExtendedNetwork, node::BlockSource, rpc:
2525
}, std_wait, store::{ChainState, LiveSnapshot, Sha256}};
2626
use crate::rpc::SignedMessage;
2727

28-
const MEMPOOL_CHECK_INTERVAL: Duration = Duration::from_millis(
29-
if cfg!(debug_assertions) { 500 } else { 10_000 }
28+
const MEMPOOL_CHECK_INTERVAL: Duration = Duration::from_secs(
29+
if cfg!(debug_assertions) { 1 } else { 5 * 60 }
3030
);
3131

3232
#[derive(Debug, Clone, Serialize, Deserialize)]

0 commit comments

Comments
 (0)