taskforcesh / bullmq

BullMQ - Message Queue and Batch processing for NodeJS and Python based on Redis
https://bullmq.io
MIT License
5.47k stars 357 forks source link

feat(python): wait for jobs to finalize on close #2545

Closed klaemo closed 1 month ago

klaemo commented 1 month ago

This makes the worker close method wait for jobs to be done processing in the python library. I think this brings it closer to the behavior of the JS library.

We have used this in production for a while and has worked out well.