Skip to content

Commit

Permalink
remove lock
Browse files Browse the repository at this point in the history
  • Loading branch information
joedixon committed Nov 6, 2023
1 parent 8801974 commit a9bf2d8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Concerns/EnsuresIntegrity.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ trait EnsuresIntegrity
*/
protected function mutex(Closure $callback, $timeout = 10): mixed
{
return $callback();

if (! property_exists($this, 'repository')) {
return $callback();
}
Expand Down

0 comments on commit a9bf2d8

Please sign in to comment.