Merge pull request #14224 from nextcloud/backport/9875/stable13

[stable13] Fix #9864: Decrease $maxDelay in Throttler.php
This commit is contained in:
Roeland Jago Douma 2019-02-15 14:09:56 +01:00 committed by GitHub
commit fb2de45fd0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -228,7 +228,7 @@ class Throttler {
return 0;
}
$maxDelay = 30;
$maxDelay = 25;
$firstDelay = 0.1;
if ($attempts > (8 * PHP_INT_SIZE - 1)) {
// Don't ever overflow. Just assume the maxDelay time:s