Chunking: change the default chunk size to 10MB
authorOlivier Goffart <ogoffart@woboq.com>
Wed, 24 Feb 2016 15:02:17 +0000 (16:02 +0100)
committerOlivier Goffart <ogoffart@woboq.com>
Wed, 24 Feb 2016 15:25:45 +0000 (16:25 +0100)
commitb685f6b6b6dff2164fb9b4bfab1eef4b74938670
tree726ee04a6e2a5cc771548abe70d44e3759ad5feb
parent7e5d89293d7bd52ac42d026d34a8154fbbdf33bb
Chunking: change the default chunk size to 10MB

As discussed with Klaas, this seems to be a better compromise.
10MB * 3 prarralel jobs = 30MB in memory, and to retry in case of
disconnection. Which is still reasonable.  And might make the upload
almost twice as fast on fast network where the amount of chunk is the
bottleneck (because of more server processing)

Relates to issue #4354
src/libsync/configfile.cpp