We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://docs.rs/tokio/latest/tokio/signal/fn.ctrl_c.html used in https://github.com/contrun/fiber/blob/11b828f3dab146c4202446c8f3c495d8c5ee2e36/src/main.rs#L226-L227 only handles SIGINT but not SIGTERM which is the default signal that would be sent to the node program by kill/pkill. We should also handle SIGTERM for graceful shutdown.
SIGINT
SIGTERM
kill/pkill
The text was updated successfully, but these errors were encountered:
No branches or pull requests
https://docs.rs/tokio/latest/tokio/signal/fn.ctrl_c.html used in https://github.com/contrun/fiber/blob/11b828f3dab146c4202446c8f3c495d8c5ee2e36/src/main.rs#L226-L227 only handles
SIGINT
but notSIGTERM
which is the default signal that would be sent to the node program bykill/pkill
. We should also handleSIGTERM
for graceful shutdown.The text was updated successfully, but these errors were encountered: