Hono + Bun graceful shutdown, handling SIGTERM #3731
Unanswered
amikofalvy
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to figure out the best way to safely shutdown a running instance of Hono without dropping requests that are currently processing.
I'm running hono+bun within a container on GCP Cloud Run. When there is a scale in event Google sends the SIGTERM event to the process.
In Node Express I would do something like the following, how would I implement something similar with Hono + Bun?
Beta Was this translation helpful? Give feedback.
All reactions