*Increase RC prune change to 1/100
authorAaron Schulz <aaron@users.mediawiki.org>
Fri, 22 Jun 2007 02:08:22 +0000 (02:08 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Fri, 22 Jun 2007 02:08:22 +0000 (02:08 +0000)
includes/Article.php

index 286e97f..b4eab7b 100644 (file)
@@ -2317,7 +2317,7 @@ class Article {
 
                if ( wfRunHooks( 'ArticleEditUpdatesDeleteFromRecentchanges', array( &$this ) ) ) {
                        wfSeedRandom();
-                       if ( 0 == mt_rand( 0, 999 ) ) {
+                       if ( 0 == mt_rand( 0, 99 ) ) {
                                # Periodically flush old entries from the recentchanges table.
                                global $wgRCMaxAge;