mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat: Make new block fetch more frequent
This commit is contained in:
@ -95,7 +95,7 @@ impl BlockIngest {
|
|||||||
|
|
||||||
loop {
|
loop {
|
||||||
let Some(original_block) = self.collect_block(height) else {
|
let Some(original_block) = self.collect_block(height) else {
|
||||||
tokio::time::sleep(std::time::Duration::from_millis(500)).await;
|
tokio::time::sleep(std::time::Duration::from_millis(200)).await;
|
||||||
continue;
|
continue;
|
||||||
};
|
};
|
||||||
let BlockInner::Reth115(mut block) = original_block.block;
|
let BlockInner::Reth115(mut block) = original_block.block;
|
||||||
|
|||||||
Reference in New Issue
Block a user