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 6b550a1 commit 9ebf742Copy full SHA for 9ebf742
src/Symfony/Component/Lock/Store/RedisStore.php
@@ -317,7 +317,8 @@ private function getNowCode(): string
317
try {
318
$this->supportTime = 1 === $this->evaluate($script, 'symfony_check_support_time', []);
319
} catch (LockStorageException $e) {
320
- if (false === strpos($e->getMessage(), 'commands not allowed after non deterministic')) {
+ if (false === strpos($e->getMessage(), 'commands not allowed after non deterministic')
321
+ && false === strpos($e->getMessage(), 'is not allowed from script script')) {
322
throw $e;
323
}
324
$this->supportTime = false;
0 commit comments