feat: Add support for scheduled workflows (#7651)

We still need to:
But wanted to open the PR for early feedback on the approach
This commit is contained in:
Stevche Radevski authored and GitHub committed 2024-06-10 14:49:52 +00:00
1 parent 7f53fe06b6
commit 69410162f6
20 files changed
+465 -44

No files matched your search

@@ -3,6 +3,7 @@ import {
DistributedTransactionEvents,
TransactionHandlerType,
TransactionStep,
WorkflowScheduler,
} from "@medusajs/orchestration"
import {
ContainerLike,
@@ -110,6 +111,7 @@ export class WorkflowOrchestratorService {
if (!dataLoaderOnly) {
DistributedTransaction.setStorage(redisDistributedTransactionStorage)
WorkflowScheduler.setStorage(redisDistributedTransactionStorage)
}
this.redisDistributedTransactionStorage_ =