Skip to content

Commit

Permalink
Also send the byte offset back with the paused event.
Browse files Browse the repository at this point in the history
  • Loading branch information
konklone committed Oct 20, 2014
1 parent 0512ef4 commit 5ebb15c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/s3-upload-stream.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,12 @@ module.exports = {
return true;
};

// when pausing, return relevant pause state to client
var notifyPaused = function () {
ws.emit('paused', {
UploadId: multipartUploadID,
Parts: partIds
Parts: partIds,
Uploaded: uploadedSize
});
};

Expand Down

0 comments on commit 5ebb15c

Please sign in to comment.