Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9ebf742

Browse filesBrowse files
committed
[Lock] compatiblity with redis cluster 7
1 parent 6b550a1 commit 9ebf742
Copy full SHA for 9ebf742

File tree

1 file changed

+2
-1
lines changed
Filter options

1 file changed

+2
-1
lines changed

‎src/Symfony/Component/Lock/Store/RedisStore.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Lock/Store/RedisStore.php
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,8 @@ private function getNowCode(): string
317317
try {
318318
$this->supportTime = 1 === $this->evaluate($script, 'symfony_check_support_time', []);
319319
} catch (LockStorageException $e) {
320-
if (false === strpos($e->getMessage(), 'commands not allowed after non deterministic')) {
320+
if (false === strpos($e->getMessage(), 'commands not allowed after non deterministic')
321+
&& false === strpos($e->getMessage(), 'is not allowed from script script')) {
321322
throw $e;
322323
}
323324
$this->supportTime = false;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.