Upload: Chunk size can be changed in the config file
authorOlivier Goffart <ogoffart@woboq.com>
Fri, 15 Jan 2016 12:16:52 +0000 (13:16 +0100)
committerOlivier Goffart <ogoffart@woboq.com>
Fri, 15 Jan 2016 12:16:52 +0000 (13:16 +0100)
commitd12c0939b90bd9a976b93e08bd2855d17de5ff3d
treea50c158777628534611bfb59055752ef33c5cab4
parenta41fbc04548c2eb3cab52c4b7c5ad6041fa7626d
Upload: Chunk size can be changed in the config file

Added a new "chunkSize" entry in the General group of the owncloud.cfg
which can be set to the size, in bytes, of the chunks.

This allow user with hude bandwidth to select more optimal chunk size

Issue #4354
src/libsync/configfile.cpp
src/libsync/configfile.h
src/libsync/owncloudpropagator.cpp
src/libsync/owncloudpropagator.h
src/libsync/propagateupload.cpp
src/libsync/propagateupload.h