X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fjob%2FJobQueueAggregatorMemc.php;h=9434da04590fc6e18569697948e54b1b9a655d0d;hb=4fe59cd7c2d24ccee9a227d945f5a0791db2fb42;hp=15bb8332088d747e7817381b56e45da0dc7ada7e;hpb=757fb8071a7f24db5ed82910028fceaa6c8fd1ee;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/job/JobQueueAggregatorMemc.php b/includes/job/JobQueueAggregatorMemc.php index 15bb833208..9434da0459 100644 --- a/includes/job/JobQueueAggregatorMemc.php +++ b/includes/job/JobQueueAggregatorMemc.php @@ -91,9 +91,9 @@ class JobQueueAggregatorMemc extends JobQueueAggregator { if ( $this->cache->add( "$key:rebuild", 1, 1800 ) ) { // lock $pendingDbInfo = array( 'pendingDBs' => $this->findPendingWikiQueues(), - 'timestamp' => time() + 'timestamp' => time() ); - for ( $attempts=1; $attempts <= 25; ++$attempts ) { + for ( $attempts = 1; $attempts <= 25; ++$attempts ) { if ( $this->cache->add( "$key:lock", 1, 60 ) ) { // lock $this->cache->set( $key, $pendingDbInfo ); $this->cache->delete( "$key:lock" ); // unlock