Issue when running mutiple bot instances on the same redis db with the scheduler plugin

I have currently 3 bots that all are executing the same code. They have a schedule that triggers every day at 0am and are using the same redis db. I recently discovered, that sometimes, the execution of the scheduled task is not executing and I was wondering if this cuold be connected to the multiple bot instances that a are connected to the same redis db.
Solution:
If so then yes. You should configure them to use different databases. Bullmq doesn't use any particular unique identifiers for its keys.
Jump to solution
3 Replies
Favna
Favna12mo ago
Do they all use our plugin for scheduled tasks?
Solution
Favna
Favna12mo ago
If so then yes. You should configure them to use different databases. Bullmq doesn't use any particular unique identifiers for its keys.
chillihero
chillihero12mo ago
yes they do, that’s what i thought