Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
[5.7] Revert "Handle AWS Connection Lost (#25295)" #27418
Queue workers die with userland exception
Any failure in userland to fopen will cause the queue worker to kill itself, because it gets detected by "DetectsLostConnections". This is because this string is too generic in the detection of lost connections when it was intended for database lost connections, but instead it falls for random userland exceptions.
I had first opted to fix the DetectsLostConnection to check exception for DB context, but I don't know enough about internals of Laravel to do that. So I opted instead to revert the commits that added this.
See this comment for more details: #27053 (comment)