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
{{ message }}
This repository has been archived by the owner on Dec 11, 2023. It is now read-only.
queue.submit() iterates over chunks, sends each, and then resets the chunks. This can be a problem if any process adds items to the queue while submit() is iterating. When that happens, the new additions can be cleared out before they can be sent.
An alternative is to repeatedly pop the first chunk while the chunks aren't empty. I'll open a pull request.
The text was updated successfully, but these errors were encountered:
queue.submit() iterates over chunks, sends each, and then resets the chunks. This can be a problem if any process adds items to the queue while
submit()
is iterating. When that happens, the new additions can be cleared out before they can be sent.An alternative is to repeatedly
pop
the first chunk while thechunks
aren't empty. I'll open a pull request.The text was updated successfully, but these errors were encountered: