Merge "test: abstract parser test result"
[lhc/web/wiklou.git] / includes / job / JobQueueAggregatorMemc.php
index 15bb833..9434da0 100644 (file)
@@ -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