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
The server should listen on signals and gracefully shutdown and exit on appropriate signals. Seems like we should be able to use https://docs.rs/signal-hook-async-std/latest/signal_hook_async_std/ for this.
Similarly to https://github.com/profianinc/drawbridge/blob/e84c7efcdafd97361b1fc0fc8acb26fa941733b8/tests/mod.rs#L37-L44 we should add a take_until to https://github.com/profianinc/drawbridge/blob/e84c7efcdafd97361b1fc0fc8acb26fa941733b8/src/main.rs#L69-L73, which should be passed a future, which is ready once a termination signal (probably SIGKILL and/or SIGTERM, please double-check what is applicable) is received.
take_until
SIGKILL
SIGTERM
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The server should listen on signals and gracefully shutdown and exit on appropriate signals.
Seems like we should be able to use https://docs.rs/signal-hook-async-std/latest/signal_hook_async_std/ for this.
Similarly to https://github.com/profianinc/drawbridge/blob/e84c7efcdafd97361b1fc0fc8acb26fa941733b8/tests/mod.rs#L37-L44 we should add a
take_until
to https://github.com/profianinc/drawbridge/blob/e84c7efcdafd97361b1fc0fc8acb26fa941733b8/src/main.rs#L69-L73, which should be passed a future, which is ready once a termination signal (probablySIGKILL
and/orSIGTERM
, please double-check what is applicable) is received.The text was updated successfully, but these errors were encountered: