mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: decrease local pending block expiration time (#7896)
This commit is contained in:
@ -355,7 +355,7 @@ where
|
||||
let now = Instant::now();
|
||||
*lock = Some(PendingBlock {
|
||||
block: pending_block.clone(),
|
||||
expires_at: now + Duration::from_secs(3),
|
||||
expires_at: now + Duration::from_secs(1),
|
||||
});
|
||||
|
||||
Ok(Some(pending_block))
|
||||
|
||||
Reference in New Issue
Block a user