storj/satellite/metainfo/piecedeletion
Egon Elbre 676f3e8516 satellite/metainfo/piecedeletion: try to make batches larger
Currently it was possible that PopAll returns 1010 items, then
makes one RPC call with 1000 items, then RPC call 10 items. Meanwhile,
there have been added 500 new items added to the queue.

This change ensures that we pull items from the queue early and
try to make rpc batches as large as possible.

Change-Id: I1a30dde9164c2ff7b90c906a9544593c4f1cf0e9
2020-04-22 18:43:29 +00:00
..
combiner_bench_test.go satellite/metainfo/piecedeletion: add Combiner 2020-03-16 17:13:26 +00:00
combiner_test.go satellite/metainfo/piecedeletion: add Combiner 2020-03-16 17:13:26 +00:00
combiner.go satellite/metainfo/piecedeletion: try to make batches larger 2020-04-22 18:43:29 +00:00
dialer_test.go satellite/metainfo/piecedeletion: add Dialer 2020-03-16 23:36:01 +00:00
dialer.go satellite/metainfo/piecedeletion: try to make batches larger 2020-04-22 18:43:29 +00:00
doc.go satellite/metainfo/piecedeletion: add Service 2020-03-18 14:50:08 +00:00
handler_test.go satellite/metainfo/piecedeletion: add Combiner 2020-03-16 17:13:26 +00:00
handler.go satellite/metainfo/piecedeletion: add Combiner 2020-03-16 17:13:26 +00:00
queue_test.go satellite/metainfo/piecedeletion: try to make batches larger 2020-04-22 18:43:29 +00:00
queue.go satellite/metainfo/piecedeletion: try to make batches larger 2020-04-22 18:43:29 +00:00
service_test.go satellite/metainfo/piecedeletion: handle zero case 2020-04-16 13:00:32 +03:00
service.go satellite/metainfo/piecedeletion: handle zero case 2020-04-16 13:00:32 +03:00