Skip to content

Commit

Permalink
Update CallbackEvent.php (#19834)
Browse files Browse the repository at this point in the history
  • Loading branch information
Litiano authored and taylorotwell committed Jun 30, 2017
1 parent ce7251c commit 5401c16
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Illuminate/Console/Scheduling/CallbackEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ public function withoutOverlapping()
"A scheduled event name is required to prevent overlapping. Use the 'name' method before 'withoutOverlapping'."
);
}

$this->withoutOverlapping = true;

return $this->skip(function () {
return $this->mutex->exists($this);
Expand Down

0 comments on commit 5401c16

Please sign in to comment.