chore: medusa shutdown (#6865)

* chore: medusa shutdown

* continue

* use shutdown

* on application shutdown

* consume shutdown

* more connection close

* more cleanup

* more cleanup

* update lock

* revert package

* graceful shutdown

* Create yellow-apples-attack.md

* graceful shutdown

* graceful shutdown

---------

Co-authored-by: Sebastian Rindom <skrindom@gmail.com>
Co-authored-by: Riqwan Thamir <rmthamir@gmail.com>
This commit is contained in:
authored and GitHub committed 2024-03-29 09:22:29 -03:00
1 parent 0c0b425de7
commit 8fd1488938
20 files changed
+234 -76

No files matched your search

+1
View File
@@ -294,5 +294,6 @@ export interface IModuleService {
*/
__hooks?: {
onApplicationStart?: () => Promise<void>
onApplicationShutdown?: () => Promise<void>
}
}