diff --git a/pkg/bull-queue-admin/index.js b/pkg/bull-queue-admin/index.js index 016bc26c3..ca32a2bc4 100644 --- a/pkg/bull-queue-admin/index.js +++ b/pkg/bull-queue-admin/index.js @@ -57,12 +57,10 @@ const run = async () => { maxRetriesPerRequest: null, } } - const createQueueMQ = (name) => - new QueueMQ(secrets.REDIS_URL, { - connection: redisOptions, - }) - const rssRefreshFeed = createQueueMQ('rssRefreshFeed') + const rssRefreshFeed = createQueueMQ('rssRefreshFeed', { + connection: redisOptions, + }) const serverAdapter = new ExpressAdapter() serverAdapter.setBasePath('/ui')