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

Ensure block-generator service shutdown after failure. #937

Merged

Conversation

winder
Copy link
Contributor

@winder winder commented Mar 17, 2022

Summary

The block generator was leaving an orphaned indexer instance when there is a failure during startup. Make sure the shutdown function is always called by doing it in a defer function.

@winder winder merged commit 9bea6c2 into algorand:develop Mar 17, 2022
@winder winder deleted the will/better-block-generator-shutdown branch March 17, 2022 23:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants