Increment attempts

parent 82890959
......@@ -117,7 +117,7 @@ class MongoQueue extends DatabaseQueue
})->get();
foreach ($reserved as $job) {
$attempts = $job['attempts'];
$attempts = $job['attempts'] + 1;
$this->releaseJob($job['_id'], $attempts);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment