From 4169de762dbd33baab9671df2403262235e162fb Mon Sep 17 00:00:00 2001 From: tim Date: Wed, 23 Oct 2024 04:46:09 -0400 Subject: [PATCH] log tweaks --- src/dexorder/runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dexorder/runner.py b/src/dexorder/runner.py index c7aafaf..886c263 100644 --- a/src/dexorder/runner.py +++ b/src/dexorder/runner.py @@ -266,7 +266,7 @@ class BlockStateRunner(BlockProgressor): self.state.remove_branch(fork.branch) processed_block = await get_block(fork.head) behind = timestamp() - processed_block.timestamp - if behind > 2: + if behind > 7: # todo pagerduty alerts if too far behind log.info(f'Runner is {timedelta(seconds=behind)} behind') was_behind = True