We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77a6bc1 commit 3a66b2cCopy full SHA for 3a66b2c
src/Internal/Service/LockService.php
@@ -29,7 +29,7 @@ public function __construct(CacheManager $cacheManager, ConfigRepository $config
29
public function block(string $key, callable $callback): mixed
30
{
31
return $this->getLockProvider()
32
- ->lock($key)
+ ->lock($key, $this->seconds)
33
->block($this->seconds, $callback)
34
;
35
}
0 commit comments