Merge pull request #1042 from extremeshok/patch-3

Fix for large Mailboxes to avoid timeouts
master
André Peters 2018-02-14 12:36:37 +01:00 committed by GitHub
commit a0ce05dc0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

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