Skip to content

Commit 3a66b2c

Browse files
authored
Update LockService.php
1 parent 77a6bc1 commit 3a66b2c

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
@@ -29,7 +29,7 @@ public function __construct(CacheManager $cacheManager, ConfigRepository $config
2929
public function block(string $key, callable $callback): mixed
3030
{
3131
return $this->getLockProvider()
32-
->lock($key)
32+
->lock($key, $this->seconds)
3333
->block($this->seconds, $callback)
3434
;
3535
}

0 commit comments

Comments
 (0)