Skip to content

Commit 6e6e6cb

Browse files
committed
Fix incorrect check
1 parent b28d5e9 commit 6e6e6cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TaskHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ private function handleTask($task)
152152
// If the job is being attempted again we also check if a
153153
// max retry duration has been set. If that duration
154154
// has passed, it should stop trying altogether.
155-
if ($job->attempts() >= 1) {
155+
if ($job->attempts() > 1) {
156156
$job->setRetryUntil($this->getRetryUntilTimestamp($job));
157157
}
158158

0 commit comments

Comments
 (0)