diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-06-15 07:34:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-15 07:34:28 +0200 |
commit | a0496b2a7802d7605063056999ab0f3d465957af (patch) | |
tree | dfaf771e092f20582adb525746ce2b98dce7f2ba /lib | |
parent | 3ea9f1887158ad13d75f2ad906dc7815d6b0dc41 (diff) | |
parent | ad66c6bf0813db362f9a6424b7aea0f89e892075 (diff) | |
download | nextcloud-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.php | 2 |
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 |