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:Jump to solution
If so then yes. You should configure them to use different databases. Bullmq doesn't use any particular unique identifiers for its keys.
3 Replies
Do they all use our plugin for scheduled tasks?
Solution
If so then yes. You should configure them to use different databases. Bullmq doesn't use any particular unique identifiers for its keys.
yes they do, that’s what i thought