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 60ba0f4 commit e5885a3Copy full SHA for e5885a3
src/RoadRunnerStore.php
@@ -61,6 +61,7 @@ public function exists(Key $key): bool
61
public function putOffExpiration(Key $key, float $ttl): void
62
{
63
\assert($key->hasState(__CLASS__));
64
+ \assert($ttl > 0);
65
if (false === $this->rrLock->updateTTL((string) $key, $key->getState(__CLASS__), $ttl)) {
66
throw new LockConflictedException('RoadRunner. Failed to update lock ttl');
67
}
0 commit comments