Replies: 2 comments 5 replies
-
Of course, you'll need to run additional tests, but generally, Pulse's data structure is as follows, which isn't significantly different from the version of Agenda I've checked. However, as you know, Agenda has multiple versions, so please ensure thorough testing. If you encounter any issues during testing, let me know, and I'll address them immediately.
|
Beta Was this translation helpful? Give feedback.
-
Hi, I did an early test, I'm getting Unsupported BSON version, bson types must be from bson 6.x.x errors atm. However, when I run some old jobs by manually setting The existing system used the latest agendaJs (5.0) with Azure CosmosDb. I just added this bold part below so pulse will use the old collection. this.agenda = new Pulse({
db: {
address: this.configService.get<string>('DB_CONNECTION'),
collection: 'agendaJobs', // added this
},
processEvery: '5 seconds',
sort: { nextRunAt: 1 },
}); Also I reorder the Job.define() parameters so configs become 3rd parameter from 2nd one. After this, there was no build problem. |
Beta Was this translation helpful? Give feedback.
-
Hey,
Can we drop and use pulse with an existing AgendaJs database? I noticed there's a breaking change in Job.Define(). I was wondering if I could just drop the old AgendaJs and start using the Pulse?
Beta Was this translation helpful? Give feedback.
All reactions