array( 'page_id' => $batch ) + $touchedCond,
__METHOD__
);
+ # WM patch: throttle to avoid apache CPU exhaustion -- TS
+ if ( php_sapi_name() == 'cli' ) {
+ sleep( 1 );
+ }
}
+ # Disable this as a temporary measure per private-l post -- TS
# Update squid
+ /*
if ( $wgUseSquid ) {
$u = SquidUpdate::newFromTitles( $titleArray );
$u->doUpdate();
- }
+ } */
# Update file cache
if ( $wgUseFileCache ) {