We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01803da commit 83eb785Copy full SHA for 83eb785
src/copydrive.cc
@@ -25,7 +25,7 @@
25
26
#include "kinetic/kinetic.h"
27
28
-static const int kP2PBatchSize = 300;
+static const int kP2PBatchSize = 10;
29
using kinetic::KineticConnectionFactory;
30
using kinetic::Status;
31
using kinetic::KineticRecord;
@@ -48,7 +48,7 @@ kinetic::P2PPushRequest prepare_request(const vector<kinetic::P2PPushOperation>&
48
49
if (currentDestination < destinations.size() - 1) {
50
// Add the pipleline request onto this request's first operation
51
- request.operations[0].request = make_shared<::kinetic::P2PPushRequest>(
+ request.operations[request.operations.size() - 1].request = make_shared<::kinetic::P2PPushRequest>(
52
prepare_request(operations, destinations, currentDestination + 1));
53
}
54
0 commit comments