Skip to content

Commit 727adf3

Browse files
Docs update.
1 parent 46fc2e1 commit 727adf3

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/Services/QueuedJobService.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1742,7 +1742,8 @@ protected function markEligibleJobsForRetry(int $queueType): void
17421742
// This will allow the job to be picked up again for processing so the job gets retried
17431743
$jobDescriptor->JobStatus = $jobValidStatusMap[$jobDescriptor->JobStatus];
17441744

1745-
// Release the job lock, so it could be picked up again as well as expiry
1745+
// Release the job lock with immediate effect by also clearing Expiry
1746+
// This makes the job to be available immediately as opposed to waiting for the time lock to expire
17461747
$this->releaseJobLock($jobDescriptor);
17471748
$jobDescriptor->Expiry = null;
17481749
$jobDescriptor->extend('onRetry', $job);

0 commit comments

Comments
 (0)