Upstream predis/predis state of the touched files before 00611e08e0

This commit is contained in:
upstream committed 2026-10-08 09:41:25 +02:00
1 parent d75f5e786f
commit 869eb626d4
3 files changed
+5 -223

No files matched your search

+5 -5
View File
@@ -73,7 +73,7 @@ class ConnectionErrorProof extends Pipeline
try {
$responses[$i] = $connection->readResponse($command);
} catch (CommunicationException $exception) {
$add = $sizeOfPipe - count($responses);
$add = count($commands) - count($responses);
$responses = array_merge($responses, array_fill(0, $add, $exception));
break;
@@ -101,10 +101,10 @@ class ConnectionErrorProof extends Pipeline
$command = $commands->dequeue();
$cmdConnection = $connection->getConnectionByCommand($command);
$connectionId = spl_object_id($cmdConnection);
$connectionHash = spl_object_hash($cmdConnection);
if (isset($exceptions[$connectionId])) {
$responses[$i] = $exceptions[$connectionId];
if (isset($exceptions[$connectionHash])) {
$responses[$i] = $exceptions[$connectionHash];
continue;
}
@@ -112,7 +112,7 @@ class ConnectionErrorProof extends Pipeline
$responses[$i] = $cmdConnection->readResponse($command);
} catch (CommunicationException $exception) {
$responses[$i] = $exception;
$exceptions[$connectionId] = $exception;
$exceptions[$connectionHash] = $exception;
}
}