✅ Allow custom resource cleanup e.g. close a db-connection if graceful-shutdown is configured #2650
HeikoOsigus
started this conversation in
Ideas
Replies: 2 comments 3 replies
-
what would happen to resources if you don't clean them up before the process exits, @HeikoOsigus ? |
Beta Was this translation helpful? Give feedback.
1 reply
-
@HeikoOsigus , check out this implementation and let me know if it would suit your needs: #2655 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'd like to cleanup my resources on graceful-shutdown. Therefore i suggest to configure a callback that is called once the server is closed and before the process is exited.
Beta Was this translation helpful? Give feedback.
All reactions