log tweaks

This commit is contained in:
tim
2024-10-23 04:46:09 -04:00
parent 4a7220a403
commit 4169de762d

View File

@@ -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