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 c5b187c commit a0a8b59Copy full SHA for a0a8b59
composer.json
@@ -31,7 +31,7 @@
31
"php": ">=8.1",
32
"roadrunner-php/lock": "^1.0",
33
"symfony/lock": "^6.0 || ^7.0",
34
- "symfony/polyfill": "^1.32"
+ "symfony/polyfill-php83": "^1.32"
35
},
36
"require-dev": {
37
"phpunit/phpunit": "^10.0",
src/RoadRunnerStore.php
@@ -33,6 +33,8 @@ public function __construct(
/**
* Clone current instance with another values of ttl.
+ * @param float $ttl The time-to-live of the lock, in seconds. Defaults to 0 (forever).
+ * @param float $waitTtl How long to wait to acquire lock until returning false, in seconds.
38
*/
39
public function withTtl(float $ttl, ?float $waitTtl = null): self
40
{
0 commit comments