You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added a Postgres lost connection error message string
In Postgres 9.4.*, if the connection to the database is killed and I trigger a queued job, the DB Connection class throws an error and doesn't retry. This is the error that occurs:
```
SomeQueuedJob error: SQLSTATE[HY000]: General error: 7 server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request. (SQL: select * from "table" where "id" = 1 limit 1)
[/var/www/html/vendor/illuminate/database/Connection.php:651]
```
I've added an additional string to the DetectsLostConnections class to catch this error so the application will retry the connection.
0 commit comments