Skip to content

chore: Optimize dev-chain-fast healthcheck #241

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

Merged
merged 3 commits into from
Apr 30, 2025

Conversation

teogeb
Copy link
Contributor

@teogeb teogeb commented Apr 30, 2025

There was very long interval for the healthcheck of dev-chain-fast. That's why the startup of streamr-docker-dev chain services was usually very slow. Reduced the interval significantly.

Also improved --wait arg to log warnings sooner, and reduced the poll interval so that we can exit polling sooner.

Statistics

Before this PR typical chain service startup took about 90s, now it takes about 24s.

streamr-docker-dev wipe
time streamr-docker-dev start dev-chain-fast deploy-network-subgraphs-fastchain --wait

@teogeb teogeb requested a review from jtakalai April 30, 2025 10:37
@teogeb teogeb merged commit e5ccd02 into master Apr 30, 2025
4 checks passed
@teogeb teogeb deleted the optimize-dev-chain-fast-healthcheck branch April 30, 2025 11:06
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