We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c17827 commit fbbf387Copy full SHA for fbbf387
src/Jenssegers/Mongodb/Queue/MongoQueue.php
@@ -117,7 +117,7 @@ protected function releaseJobsThatHaveBeenReservedTooLong($queue)
117
})->get();
118
119
foreach ($reserved as $job) {
120
- $attempts = $job['attempts'] + 1;
+ $attempts = $job['attempts'];
121
$this->releaseJob($job['_id'], $attempts);
122
}
123
0 commit comments