Rocketseat / adonis-bull

The easiest way to start using an asynchronous job queue with AdonisJS. Ready for Adonis v5 ⚡️
MIT License
308 stars 57 forks source link

BullMQ connection options deprecation #111

Open brkn opened 2 years ago

brkn commented 2 years ago

Description of bug

On version 1.0.4 if I run node ace bull:listen -b -p 9999. I get deprecation messages in the console.

BullMQ: DEPRECATION WARNING! Optional instantiation of Queue, Worker, QueueScheduler and QueueEvents without
providing explicitly a connection or connection options is deprecated.
This behaviour will be removed in the next major release

To Reproduce

Run node ace bull:listen -b -p 9999

Expected behavior

Not having a deprecation error on console