Using bull-arena: "^3.2.2" version. Facing this error on starting arena dashboard
TypeError: as of 3.0.0, bull-arena requires that the queue constructors be provided to Arena
I tried to use the queue instance as a parameter instead of the queue name but no success.
source code:
import Arena from "bull-arena";
import Bull from "bull";
const queuesConfig = [];
for (const queue in queues) {
queuesConfig.push({
name: queues[queue],
hostId: "worker",
redis: { url: redisHost }
});
}
const arenaConfig = Arena({
queues: queuesConfig
}, {
basePath: "/",
disableListen: true,
});
Thanking you in advance for your help.