revised throttle limits
authorTim Starling <tstarling@users.mediawiki.org>
Thu, 29 Jan 2004 09:26:58 +0000 (09:26 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Thu, 29 Jan 2004 09:26:58 +0000 (09:26 +0000)
maintenance/rcdumper.php

index 23a928f..8ebc772 100755 (executable)
@@ -37,6 +37,8 @@ $wgTitle = Title::newFromText( "RC dumper" );
 $wgCommandLineMode = true;
 set_time_limit(0);
 
+sleep(30);
+
 $res = wfQuery( "SELECT rc_timestamp FROM recentchanges ORDER BY rc_timestamp DESC LIMIT 1", DB_READ ); 
 $row = wfFetchObject( $res );
 $oldTimestamp = $row->rc_timestamp;
@@ -90,7 +92,7 @@ while (1) {
                }
                print( $fullString );
                $oldTimestamp = $row->rc_timestamp;
-               sleep(1);
+               sleep(2);
        }
        sleep(5);
 }