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
Favna2y ago
Do they all use our plugin for scheduled tasks?
Solution
Favna
Favna2y 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
chilliheroOP2y ago
yes they do, that’s what i thought
Want results from more Discord servers?
Add your server