bytecodealliance / bytecodealliance/wasmtime
Graceful shutdown with the `serve` command
Open
- Dominant language
- Rust
- Stars
- 18.6k
- Forks
- 1.8k
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 121
Description
Out of curiosity is it easy enough to have a graceful shutdown here where ctrl-c sets a flag "please exit ASAP"? Otherwise this looks like it cancel all pending work if it's happening during ctrl-c (in which case this probably isn't much better than avoiding installing a ctrl-c in the first place)
_Originally posted by @alexcrichton in https://github.com/bytecodealliance/wasmtime/pull/7091#discussion_r1340538192_
Contributor guide
Assessment
This issue has not been assessed yet.