There was an error while loading. Please reload this page.
1 parent 46fc2e1 commit 727adf3Copy full SHA for 727adf3
1 file changed
src/Services/QueuedJobService.php
@@ -1742,7 +1742,8 @@ protected function markEligibleJobsForRetry(int $queueType): void
1742
// This will allow the job to be picked up again for processing so the job gets retried
1743
$jobDescriptor->JobStatus = $jobValidStatusMap[$jobDescriptor->JobStatus];
1744
1745
- // Release the job lock, so it could be picked up again as well as expiry
+ // 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
1747
$this->releaseJobLock($jobDescriptor);
1748
$jobDescriptor->Expiry = null;
1749
$jobDescriptor->extend('onRetry', $job);
0 commit comments