From a9bf2d89b2c8b1a2bdf3eaa2f605b206302acf71 Mon Sep 17 00:00:00 2001 From: Joe Dixon Date: Mon, 6 Nov 2023 12:21:57 +0000 Subject: [PATCH] remove lock --- src/Concerns/EnsuresIntegrity.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Concerns/EnsuresIntegrity.php b/src/Concerns/EnsuresIntegrity.php index 6c447f53..20eae0be 100644 --- a/src/Concerns/EnsuresIntegrity.php +++ b/src/Concerns/EnsuresIntegrity.php @@ -11,6 +11,8 @@ trait EnsuresIntegrity */ protected function mutex(Closure $callback, $timeout = 10): mixed { + return $callback(); + if (! property_exists($this, 'repository')) { return $callback(); }