File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed
Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 44
55namespace Spiral \RoadRunner \Symfony \Lock ;
66
7- use RoadRunner \Lock \ LockInterface as RrLockInterface ;
7+ use RoadRunner \Lock as RR ;
88use Spiral \Goridge \RPC \Exception \RPCException ;
99use Symfony \Component \Lock \Exception \LockAcquiringException ;
1010use Symfony \Component \Lock \Exception \LockConflictedException ;
1414
1515final class RoadRunnerStore implements SharedLockStoreInterface
1616{
17+ /**
18+ * @param RR\LockInterface $rrLock
19+ * @param float $initialTtl The time-to-live of the lock, in seconds. Defaults to 0 (forever).
20+ * @param float $initialWaitTtl How long to wait to acquire lock until returning false.
21+ */
1722 public function __construct (
18- private readonly RrLockInterface $ rrLock ,
19- private float $ initialTtl = 300.0 ,
20- private float $ initialWaitTtl = 0 ,
23+ private readonly RR \ LockInterface $ rrLock ,
24+ private readonly float $ initialTtl = 300.0 ,
25+ private readonly float $ initialWaitTtl = 0 ,
2126 ) {
2227 }
2328
You can’t perform that action at this time.
0 commit comments