feat: make it possible to use subscribers in v2 (#6731)
This commit is contained in:
@@ -296,7 +296,7 @@ describe("RedisEventBusService", () => {
|
||||
completedSubscriberIds: ["1"],
|
||||
},
|
||||
attemptsMade: 2,
|
||||
update: (data) => data,
|
||||
updateData: (data) => data,
|
||||
opts: { attempts: 3 },
|
||||
})
|
||||
.catch((err) => void 0)
|
||||
|
||||
@@ -197,7 +197,7 @@ export default class RedisEventBusService extends AbstractEventBusModuleService
|
||||
|
||||
job.data.completedSubscriberIds = updatedCompletedSubscribers
|
||||
|
||||
await job.update(job.data)
|
||||
await job.updateData(job.data)
|
||||
|
||||
const errorMessage = `One or more subscribers of ${eventName} failed. Retrying...`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user