Skip to content

Commit 92f0ee5

Browse files
authored
Update README.md
1 parent 187c372 commit 92f0ee5

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,7 @@ Available configuration options are:
102102
* `target` The target URL for the multipart POST request. This can be a string or a function. If a
103103
function, it will be passed a FlowFile, a FlowChunk and isTest boolean (Default: `/`)
104104
* `singleFile` Enable single file upload. Once one file is uploaded, second file will overtake existing one, first one will be canceled. (Default: false)
105-
* `chunkSize` The size in bytes of each uploaded chunk of data. The last uploaded chunk will be at least this size and up to two the size, see [Issue #51](https://github.com/23/resumable.js/issues/51) for details and reasons. (Default: `1*1024*1024`)
106-
* `calculateChunkSize` Optional function to set chunk size for each file. When this method is defined, chunkSize value will not be considered. File Object will be passed to it and it should return the size (in bytes) of chunks for that file.
105+
* `chunkSize` The size in bytes of each uploaded chunk of data. This can be a number or a function. If a function, it will be passed a FlowFile. The last uploaded chunk will be at least this size and up to two the size, see [Issue #51](https://github.com/23/resumable.js/issues/51) for details and reasons. (Default: `1*1024*1024`, 1MB)
107106
* `forceChunkSize` Force all chunks to be less or equal than chunkSize. Otherwise, the last chunk will be greater than or equal to `chunkSize`. (Default: `false`)
108107
* `simultaneousUploads` Number of simultaneous uploads (Default: `3`)
109108
* `fileParameterName` The name of the multipart POST parameter to use for the file chunk (Default: `file`)

0 commit comments

Comments
 (0)