NicolasLM / spinach

Modern Redis task queue for Python 3
https://spinach.readthedocs.io
BSD 2-Clause "Simplified" License
63 stars 4 forks source link

fix: only increment the `current_concurrency` counter if the job has `max_concurrency` set #39

Closed 0xDEC0DE closed 5 months ago

0xDEC0DE commented 5 months ago

Seems to have been a small oversight when popping idempotent jobs from the queue on Redis.

Fixes: Issue #15

bigjools commented 5 months ago

Looks ok but conflicted with your last change that I just merged. I'll approve and merge once fixed.

0xDEC0DE commented 5 months ago

Done.