Merge pull request #1042 from extremeshok/patch-3

Fix for large Mailboxes to avoid timeouts
This commit is contained in:
André Peters
2018-02-14 12:36:37 +01:00
committed by GitHub

View File

@@ -74,6 +74,14 @@ while ($row = $sth->fetchrow_arrayref()) {
"--timeout1", "10",
"--tmpdir", "/tmp",
"--subscribeall",
"--nofoldersizes",
"--skipsize",
"--buffersize 8192000",
"--skipheader 'X-*",
"--split1 3000",
"--split2 3000",
"--fastio1",
"--fastio2",
($exclude eq "" ? () : ("--exclude", $exclude)),
($subfolder2 eq "" ? () : ('--subfolder2', $subfolder2)),
($maxage eq "0" ? () : ('--maxage', $maxage)),