Our implementation of batch is using async-code to send batches.
So basically if you call batch.add_object() you add objects to a queue and then there are background threads that observer that queue and send batches. The internal send_batch function is async to allow for multiple concurrent requests without threading
↧
Batch thread died unexpectedly
↧