Skip to content

Commit

Permalink
Increase mempool check interval
Browse files Browse the repository at this point in the history
  • Loading branch information
buffrr committed Jan 28, 2025
1 parent 525b436 commit 777756f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions node/src/wallets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ use crate::{checker::TxChecker, config::ExtendedNetwork, node::BlockSource, rpc:
}, std_wait, store::{ChainState, LiveSnapshot, Sha256}};
use crate::rpc::SignedMessage;

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

#[derive(Debug, Clone, Serialize, Deserialize)]
Expand Down

0 comments on commit 777756f

Please sign in to comment.