feat: Ensure async workflow executions have access to shared container (#8157)

* feat: Ensure async workflow executions have access to shared container

* fix: Register workflow worker on application start
This commit is contained in:
Stevche Radevski authored and GitHub committed 2024-07-17 12:17:48 +02:00
1 parent 1acfdc4ffe
commit 26d600b6db
15 files changed
+140 -38

No files matched your search

@@ -56,6 +56,8 @@ export async function initModules({
injectedDependencies,
})
await medusaApp.onApplicationStart()
async function shutdown() {
if (shouldDestroyConnectionAutomatically) {
await medusaApp.onApplicationPrepareShutdown()