Closed ikudosi closed 1 year ago
Wow, thanks!
I need to add some tests to avoid manual testing. 😓 I will play a bit with your PR.
What do you think of adding more documentation inside the README
file for people unfamiliar with Queues and BullMQ?
@RomainLanz did my best to add to the readme. This is honestly my first ever attempt at contributing to any repo so bare with me xD. Hopefully all goes well on your end!
@RomainLanz did my best to add to the readme. This is honestly my first ever attempt at contributing to any repo so bare with me xD. Hopefully all goes well on your end!
No worries!
It seems that you aren't passing the Job
instance when instantiating the requested job
.
@RomainLanz adjusted the code so that the job instance is passed to the processor.
Sorry for the delay, and thanks for the changes. I will have a look later today!
Thanks! ❤️
Proposing the following changes:
queue:listen
to pass multiple queues to listen (ex:queue:listen --queue:default,somethingelse
)jobs.attempts
option to be respected. The handle method was encapsulated in a try/catch thus cannot honor retry.failed()
from the job class when max attempts has succeeded and function exists.