Skip to content

Commit

Permalink
Detect lost redis connection (#50812)
Browse files Browse the repository at this point in the history
  • Loading branch information
kasus authored Mar 28, 2024
1 parent 772b861 commit 7bc70f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Illuminate/Database/DetectsLostConnections.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ protected function causedByLostConnection(Throwable $e)
'SQLSTATE[HY000] [2002] The requested address is not valid in its context',
'SQLSTATE[HY000] [2002] A socket operation was attempted to an unreachable network',
'SQLSTATE[HY000]: General error: 3989',
'went away',
]);
}
}

0 comments on commit 7bc70f2

Please sign in to comment.