Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a small sleep (1/10 average block time) when chain is behind #726

Merged
merged 1 commit into from
Jan 29, 2025

Conversation

eljobe
Copy link
Member

@eljobe eljobe commented Jan 29, 2025

This just cuts down on log-spam slightly. Without the sleep, there were sometimes hundreds of log lines saying that the chain was still catching up. And, that means there were also a bunch of tight RPC calls.

This just cuts down on log-spam slightly. Without the sleep, there were
sometimes hundreds of log lines saying that the chain was still catching up.
And, that means there were also a bunch of tight RPC calls.
@eljobe eljobe requested a review from rauljordan January 29, 2025 10:23
@rauljordan rauljordan merged commit 06459d1 into main Jan 29, 2025
5 checks passed
@rauljordan rauljordan deleted the really-wait branch January 29, 2025 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants