diff --git a/src/Internal/Service/LockService.php b/src/Internal/Service/LockService.php index 27997b0af..1baded266 100644 --- a/src/Internal/Service/LockService.php +++ b/src/Internal/Service/LockService.php @@ -29,7 +29,7 @@ public function __construct(CacheManager $cacheManager, ConfigRepository $config public function block(string $key, callable $callback): mixed { return $this->getLockProvider() - ->lock($key) + ->lock($key, $this->seconds) ->block($this->seconds, $callback) ; }