Skip to content

Commit 7bc70f2

Browse files
authored
Detect lost redis connection (#50812)
1 parent 772b861 commit 7bc70f2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Illuminate/Database/DetectsLostConnections.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ protected function causedByLostConnection(Throwable $e)
7171
'SQLSTATE[HY000] [2002] The requested address is not valid in its context',
7272
'SQLSTATE[HY000] [2002] A socket operation was attempted to an unreachable network',
7373
'SQLSTATE[HY000]: General error: 3989',
74+
'went away',
7475
]);
7576
}
7677
}

0 commit comments

Comments
 (0)