From: Tim Starling Date: Thu, 29 Jan 2004 09:26:58 +0000 (+0000) Subject: revised throttle limits X-Git-Tag: 1.3.0beta1~1078 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/%7B%7B%20url_for%28%27admin_users%27%29%20%7D%7D?a=commitdiff_plain;h=8cd706f6f0636730b7300907287eeedbb8a43ab7;p=lhc%2Fweb%2Fwiklou.git revised throttle limits --- diff --git a/maintenance/rcdumper.php b/maintenance/rcdumper.php index 23a928faf3..8ebc7726d3 100755 --- a/maintenance/rcdumper.php +++ b/maintenance/rcdumper.php @@ -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); }