You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Makes sense. We only have a queue.task_done() for each get in the loop, but none for the get outside it.
I'm guessing this isn't an immediate problem since nothing actually checks whether the queue is done. Still it would be useful to fix if we ever do anything that relies on this, e.g. shutting down the worker if there is no work at all.
It seems that
AsyncBulkCall
is missing onetask_done
call. The simplify the logic, we can assume thatsize
is set to 1.In that case the first task is fetched in
tardis/tardis/utilities/asyncbulkcall.py
Line 134 in 75b60e3
the
while
loop intardis/tardis/utilities/asyncbulkcall.py
Line 136 in 75b60e3
and therefore
task_done
intardis/tardis/utilities/asyncbulkcall.py
Line 148 in 75b60e3
More generally speaking there is always one
task_done
call missing independent ofsize
.The text was updated successfully, but these errors were encountered: