Condition match: comment says 10k, code 1k

Change-Id: Ia8cf3510a19315cd6b9610d972703a46c8eea9ef
This commit is contained in:
Nemo bis 2014-11-07 13:15:28 +01:00
parent c2b30b7394
commit f24985e6c2

View file

@ -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 );