Skip to content

Commit

Permalink
修改复制参数
Browse files Browse the repository at this point in the history
  • Loading branch information
carsonxu committed Jul 25, 2018
1 parent 291cded commit 30693e7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/cos-js-sdk-v5.js
Original file line number Diff line number Diff line change
Expand Up @@ -11182,7 +11182,7 @@ function sliceCopyFile(params, callback) {
var SourceRegion = m[2];
var SourceKey = decodeURIComponent(m[3]);
var CopySliceSize = params.SliceSize === undefined ? self.options.CopySliceSize : params.SliceSize;
CopySliceSize = Math.max(0, Math.min(params.SliceSize, 5 * 1024 * 1024 * 1024));
CopySliceSize = Math.max(0, Math.min(CopySliceSize, 5 * 1024 * 1024 * 1024));

var ChunkSize = params.ChunkSize || this.options.ChunkSize;

Expand Down
2 changes: 1 addition & 1 deletion dist/cos-js-sdk-v5.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/advance.js
Original file line number Diff line number Diff line change
Expand Up @@ -952,7 +952,7 @@ function sliceCopyFile(params, callback) {
var SourceRegion = m[2];
var SourceKey = decodeURIComponent(m[3]);
var CopySliceSize = params.SliceSize === undefined ? self.options.CopySliceSize : params.SliceSize;
CopySliceSize = Math.max(0, Math.min(params.SliceSize, 5 * 1024 * 1024 * 1024));
CopySliceSize = Math.max(0, Math.min(CopySliceSize, 5 * 1024 * 1024 * 1024));

var ChunkSize = params.ChunkSize || this.options.ChunkSize;

Expand Down

0 comments on commit 30693e7

Please sign in to comment.