Skip to content

Commit

Permalink
Fixed example issue
Browse files Browse the repository at this point in the history
  • Loading branch information
alamottemitchell committed Jul 4, 2014
1 parent 01803da commit 83eb785
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/copydrive.cc
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

#include "kinetic/kinetic.h"

static const int kP2PBatchSize = 300;
static const int kP2PBatchSize = 10;
using kinetic::KineticConnectionFactory;
using kinetic::Status;
using kinetic::KineticRecord;
Expand All @@ -48,7 +48,7 @@ kinetic::P2PPushRequest prepare_request(const vector<kinetic::P2PPushOperation>&

if (currentDestination < destinations.size() - 1) {
// Add the pipleline request onto this request's first operation
request.operations[0].request = make_shared<::kinetic::P2PPushRequest>(
request.operations[request.operations.size() - 1].request = make_shared<::kinetic::P2PPushRequest>(
prepare_request(operations, destinations, currentDestination + 1));
}

Expand Down

0 comments on commit 83eb785

Please sign in to comment.