Modify MessageCache constants
This commit is contained in:
parent
7b34096940
commit
0f726d70be
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user