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:
@@ -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 () => {
|
async () => {
|
||||||
await this.clearExpiredExecutions()
|
await this.clearExpiredExecutions()
|
||||||
},
|
},
|
||||||
{ connection: this.redisClient }
|
workerOptions
|
||||||
)
|
)
|
||||||
|
|
||||||
await this.cleanerQueue_?.add(
|
await this.cleanerQueue_?.add(
|
||||||
|
|||||||
Reference in New Issue
Block a user