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

CLI should gracefully shut down (clear js-ipfs lock) #680

Open
Schwartz10 opened this issue Dec 18, 2020 · 1 comment
Open

CLI should gracefully shut down (clear js-ipfs lock) #680

Schwartz10 opened this issue Dec 18, 2020 · 1 comment
Labels
bug Something isn't working dontclose p4 Minor

Comments

@Schwartz10
Copy link

When ceramic-cli gets shut down, the js-ipfs repo lock isn't properly released. Users have to wait at least 10 seconds for that lock to get released before spinning the daemon back up. It would be great if ceramic-CLI could gracefully shut down to avoid this, which would pave the way for other graceful shutdown actions that might be useful for future use cases

@stbrody
Copy link
Contributor

stbrody commented Dec 23, 2020

This probably just needs us to regular a signal handler and trigger graceful shutdown (call ceramic.close()) when we receive a SIGTERM or other expected signals

@stbrody stbrody added bug Something isn't working p4 Minor labels May 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dontclose p4 Minor
Projects
None yet
Development

No branches or pull requests

3 participants