Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
braydonf committed Feb 13, 2017
1 parent ffb202f commit 9e20ae6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/uploader.c
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,8 @@ static void after_push_shard(uv_work_t *work, int status)
shard->progress = COMPLETED_PUSH_SHARD;
state->completed_shards += 1;
shard->push_shard_request_count = 0;

// Update the uploaded size outside of the progress async handle
shard->uploaded_size = shard->meta->size;

// Update the exchange report with success
Expand Down

0 comments on commit 9e20ae6

Please sign in to comment.