fix(workflow-engine-redis): use worker connection (#13561)

What:
 * Regular redis connection does not have `maxRetriesPerRequest: null`, and the worker connection hangs.
This commit is contained in:
Carlos R. L. Rodrigues
2025-09-22 01:59:59 -03:00
committed by GitHub
parent 8a4c10d7f8
commit 68a643bb3a
2 changed files with 6 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
---
"@medusajs/workflow-engine-redis": patch
---
fix(workflow-engine-redis): cleaner using worker connection

View File

@@ -190,7 +190,7 @@ export class RedisDistributedTransactionStorage
async () => {
await this.clearExpiredExecutions()
},
{ connection: this.redisClient }
workerOptions
)
await this.cleanerQueue_?.add(