We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac72bb0 commit 9366af1Copy full SHA for 9366af1
app/block_scanner.py
@@ -54,9 +54,11 @@ def __call__(self):
54
)
55
self.set_last_seen_block_num(blocks.stop - 1)
56
else:
57
+ chunk_retry_sleep_period = 5
58
logger.info(
- f"Some blocks failed, retrying chunk {blocks.start} - {blocks.stop - 1}"
59
+ f"Some blocks failed, retrying chunk {blocks.start} - {blocks.stop - 1} after {chunk_retry_sleep_period}s"
60
61
+ time.sleep(chunk_retry_sleep_period)
62
except NoServerSet:
63
time.sleep(1)
64
except Exception as e:
0 commit comments