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

exp/lighthorizon: Add the ability to gracefully shut down. #4619

Closed
Shaptic opened this issue Sep 30, 2022 · 0 comments
Closed

exp/lighthorizon: Add the ability to gracefully shut down. #4619

Shaptic opened this issue Sep 30, 2022 · 0 comments

Comments

@Shaptic
Copy link
Contributor

Shaptic commented Sep 30, 2022

Reference: #4615 (comment).

We should add signal handling to both the main service and other background goroutines. As it stands today, if you Ctrl+C the web server while it's doing normal caching or during its cache preload phase, you risk cache corruption because a ledger would be partially-written to disk.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants