diff --git a/.changeset/thirty-squids-swim.md b/.changeset/thirty-squids-swim.md new file mode 100644 index 0000000000..d071f8d640 --- /dev/null +++ b/.changeset/thirty-squids-swim.md @@ -0,0 +1,5 @@ +--- +"@medusajs/workflow-engine-redis": patch +--- + +fix(workflow-engine-redis): cleaner using worker connection diff --git a/packages/modules/workflow-engine-redis/src/utils/workflow-orchestrator-storage.ts b/packages/modules/workflow-engine-redis/src/utils/workflow-orchestrator-storage.ts index 87191f53f7..27a1d541f7 100644 --- a/packages/modules/workflow-engine-redis/src/utils/workflow-orchestrator-storage.ts +++ b/packages/modules/workflow-engine-redis/src/utils/workflow-orchestrator-storage.ts @@ -190,7 +190,7 @@ export class RedisDistributedTransactionStorage async () => { await this.clearExpiredExecutions() }, - { connection: this.redisClient } + workerOptions ) await this.cleanerQueue_?.add(