log tweaks
This commit is contained in:
@@ -266,7 +266,7 @@ class BlockStateRunner(BlockProgressor):
|
|||||||
self.state.remove_branch(fork.branch)
|
self.state.remove_branch(fork.branch)
|
||||||
processed_block = await get_block(fork.head)
|
processed_block = await get_block(fork.head)
|
||||||
behind = timestamp() - processed_block.timestamp
|
behind = timestamp() - processed_block.timestamp
|
||||||
if behind > 2:
|
if behind > 7:
|
||||||
# todo pagerduty alerts if too far behind
|
# todo pagerduty alerts if too far behind
|
||||||
log.info(f'Runner is {timedelta(seconds=behind)} behind')
|
log.info(f'Runner is {timedelta(seconds=behind)} behind')
|
||||||
was_behind = True
|
was_behind = True
|
||||||
|
|||||||
Reference in New Issue
Block a user