aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-06-15 07:34:28 +0200
committerGitHub <noreply@github.com>2018-06-15 07:34:28 +0200
commita0496b2a7802d7605063056999ab0f3d465957af (patch)
treedfaf771e092f20582adb525746ce2b98dce7f2ba /lib
parent3ea9f1887158ad13d75f2ad906dc7815d6b0dc41 (diff)
parentad66c6bf0813db362f9a6424b7aea0f89e892075 (diff)
downloadnextcloud-server-a0496b2a7802d7605063056999ab0f3d465957af.tar.gz
nextcloud-server-a0496b2a7802d7605063056999ab0f3d465957af.zip
Merge pull request #9875 from wiyh12nf89x/Issue#9864_WebDAV_timeout_fix_maxDelay
Fix #9864: Decrease $maxDelay in Throttler.php
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Security/Bruteforce/Throttler.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Security/Bruteforce/Throttler.php b/lib/private/Security/Bruteforce/Throttler.php
index f08b721d143..3282121d967 100644
--- a/lib/private/Security/Bruteforce/Throttler.php
+++ b/lib/private/Security/Bruteforce/Throttler.php
@@ -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