Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusjunges authored Feb 3, 2024
1 parent 0166b11 commit 095f83c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Concerns/Trackable.php
Original file line number Diff line number Diff line change
@@ -23,9 +23,9 @@ public function __construct()
return;
}

// If this job implements the ShouldBeUnique, and it is a duplicate, laravel
// will discard the job from the queue. Therefore, there is no need to
// continue tracking this job, and we can safely return early.
// If this job implements ShouldBeUnique and it's a duplicate, laravel
// will discard it from the queue. Therefore, there is no need to
// continue tracking, and we can safely return early.
if ($this instanceof ShouldBeUnique && ! $this->isUniqueJobAndCanAcquireLock()) {
return;
}

0 comments on commit 095f83c

Please sign in to comment.