forked from coop-cloud/mediawiki
Disable throttling temporarily to work around too-eager-throttling due
to MW only seeing the internal docker networking addresses for incoming traffic.
This commit is contained in:
parent
3e3482b89e
commit
19125b7b27
|
@ -248,3 +248,15 @@ $wgFileExtensions = array(
|
|||
|
||||
$wgUploadSizeWarning = 1000000000;
|
||||
$wgMaxUploadSize = 1000000000;
|
||||
|
||||
# Greatly relax IP-based throttling for logging in while we work around docker networking issues.
|
||||
# https://social.coop/@flancian/110980993608947217
|
||||
$wgPasswordAttemptThrottle = [
|
||||
// Short term limit
|
||||
[ 'count' => 9999, 'seconds' => 300 ],
|
||||
// Long term limit. We need to balance the risk
|
||||
// of somebody using this as a DoS attack to lock someone
|
||||
// out of their account, and someone doing a brute force attack.
|
||||
[ 'count' => 999999, 'seconds' => 60 * 60 * 48 ],
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in New Issue