mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-24 06:03:49 +00:00
Condition match: comment says 10k, code 1k
Change-Id: Ia8cf3510a19315cd6b9610d972703a46c8eea9ef
This commit is contained in:
parent
c2b30b7394
commit
f24985e6c2
|
@ -1585,7 +1585,7 @@ class AbuseFilter {
|
|||
$storage_period = self::$statsStoragePeriod;
|
||||
|
||||
if ( !$total || $total > 10000 ) {
|
||||
// This is for if the total doesn't exist, or has gone past 1000.
|
||||
// This is for if the total doesn't exist, or has gone past 10,000.
|
||||
// Recreate all the keys at the same time, so they expire together.
|
||||
$wgMemc->set( $total_key, 0, $storage_period );
|
||||
$wgMemc->set( $overflow_key, 0, $storage_period );
|
||||
|
|
Loading…
Reference in a new issue