[goclidote] Use a transaction per device in RemoveDevicesFromAntidote()
Removing a large array of devices, with thousands of updates inside a
single client.StartTransaction() terribly slow down the request.
Instead, do a transaction commit after processing each item in the
array, still inside a single connection to AntidoteDB.
Signed-off-by:
Roger Pueyo Centelles <rpueyo@ac.upc.edu>
Please register or sign in to comment