Rocketseat / adonis-bull

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

onWaiting not emitting when job in waiting #75

Open anthrogan opened 3 years ago

anthrogan commented 3 years ago

Description of bug onWaiting() not being called when a job goes in to waiting

To Reproduce

Expected behavior onWaiting to call when job goes in to waiting

Screenshots image image

onActive, onCompleted and onFailed work fine. Not sure what's going on with onWaiting. I checked onDrained too and it doesnt appear to fire either. Not sure if I'm doing something wrong.