dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3f9834
)
revised throttle limits
author
Tim Starling
<tstarling@users.mediawiki.org>
Thu, 29 Jan 2004 09:26:58 +0000
(09:26 +0000)
committer
Tim Starling
<tstarling@users.mediawiki.org>
Thu, 29 Jan 2004 09:26:58 +0000
(09:26 +0000)
maintenance/rcdumper.php
patch
|
blob
|
history
diff --git
a/maintenance/rcdumper.php
b/maintenance/rcdumper.php
index
23a928f
..
8ebc772
100755
(executable)
--- 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);
}