Skip to content

Commit 0e00e0c

Browse files
authored
Update LockService.php
1 parent f9fa790 commit 0e00e0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Internal/Service/LockService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function __construct(
3030
/** @throws LockProviderNotFoundException */
3131
public function block(string $key, callable $callback)
3232
{
33-
return $this->getLockProvider()->lock($key)
33+
return $this->getLockProvider()->lock($key, $this->seconds)
3434
->block($this->seconds, $callback)
3535
;
3636
}

0 commit comments

Comments
 (0)