Modify MessageCache constants

This commit is contained in:
Sosthene 2024-10-04 09:21:38 +02:00 committed by Nicolas Cantu
parent 497ab97043
commit 91b0c8494e

View File

@ -14,8 +14,8 @@ use crate::{faucet::handle_faucet_request, handle_new_tx_request, PEERMAP};
pub(crate) static MESSAGECACHE: OnceLock<MessageCache> = OnceLock::new();
const MESSAGECACHEDURATION: Duration = Duration::from_secs(10);
const MESSAGECACHEINTERVAL: Duration = Duration::from_secs(2);
const MESSAGECACHEDURATION: Duration = Duration::from_secs(20);
const MESSAGECACHEINTERVAL: Duration = Duration::from_secs(5);
#[derive(Debug)]
pub(crate) struct MessageCache {