Skip to content

Commit

Permalink
Merge pull request #68 from buffrr/check-interval
Browse files Browse the repository at this point in the history
Increase mempool check interval
  • Loading branch information
buffrr authored Jan 28, 2025
2 parents bb91831 + 777756f commit d03843b
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 d03843b

Please sign in to comment.