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 f9fa790 commit 0e00e0cCopy full SHA for 0e00e0c
src/Internal/Service/LockService.php
@@ -30,7 +30,7 @@ public function __construct(
30
/** @throws LockProviderNotFoundException */
31
public function block(string $key, callable $callback)
32
{
33
- return $this->getLockProvider()->lock($key)
+ return $this->getLockProvider()->lock($key, $this->seconds)
34
->block($this->seconds, $callback)
35
;
36
}
0 commit comments