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:
committed by
GitHub
parent
8a4c10d7f8
commit
68a643bb3a
5
.changeset/thirty-squids-swim.md
Normal file
5
.changeset/thirty-squids-swim.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@medusajs/workflow-engine-redis": patch
|
||||
---
|
||||
|
||||
fix(workflow-engine-redis): cleaner using worker connection
|
||||
@@ -190,7 +190,7 @@ export class RedisDistributedTransactionStorage
|
||||
async () => {
|
||||
await this.clearExpiredExecutions()
|
||||
},
|
||||
{ connection: this.redisClient }
|
||||
workerOptions
|
||||
)
|
||||
|
||||
await this.cleanerQueue_?.add(
|
||||
|
||||
Reference in New Issue
Block a user