Skip to content
This repository has been archived by the owner on Sep 21, 2023. It is now read-only.

Try process.terminate(), fallback to process.kill() #108

Merged
merged 3 commits into from
Sep 21, 2020

Conversation

nickmonad
Copy link
Contributor

According to @bowenwang1996, neard doesn't really handle SIGTERMs properly, and this is causing some issues with nearup when it tries to restart.

This will first try process.terminate(), and if that does not complete within the wait timeout, fallback to process.kill()

@nickmonad
Copy link
Contributor Author

near/nearcore#3266

@chefsale chefsale merged commit 8f59b95 into nearup_v2 Sep 21, 2020
@nickmonad nickmonad deleted the ngmiller/process-kill branch September 21, 2020 20:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants