r83867 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r83866
|
r83867
|
r83868
>
Date:
02:50, 14 March 2011
Author:
tstarling
Status:
ok
Tags:
Comment:
Emergency patch: throttle job queue page_touched updates
Modified paths:
/branches/wmf/1.17wmf1/includes/HTMLCacheUpdate.php
(modified) (
history
)
Diff
[
purge
]
Index: branches/wmf/1.17wmf1/includes/HTMLCacheUpdate.php
—
—
@@ -184,6 +184,10 @@
185
185
array( 'page_id IN (' . $dbw->makeList( $batch ) . ')' ),
186
186
__METHOD__
187
187
);
188
+ # WM patch: throttle to avoid apache CPU exhaustion -- TS
189
+ if ( php_sapi_name() == 'cli' ) {
190
+ sleep( 1 );
191
+ }
188
192
}
189
193
190
194
# Update squid
Follow-up revisions
Revision
Commit summary
Author
Date
r97505
1.18wmf1 Merge
r83867
,
r93686
,
r93807
,
r93971
,
r93972
(some manually do to lo...
reedy
15:31, 19 September 2011
Status & tagging log
16:39, 7 February 2012
Reedy
(
talk
|
contribs
)
changed the
tags
for r83867
[
removed:
reapply]
19:36, 14 September 2011
Aaron Schulz
(
talk
|
contribs
)
changed the
tags
for r83867
[
added:
reapply]
17:42, 26 May 2011
Reedy
(
talk
|
contribs
)
changed the
status
of r83867
[
removed:
new
added:
ok]