framework
framework copied to clipboard
[13.x] Prevent Queue Worker crash if cache store is unavailable
This is a resubmission of https://github.com/laravel/framework/pull/57186 targeting 13.x. As Taylor said he wouldn't change this behaviour on a patch release.
This helps us prevent the workers crashing when maintenance occurs on the DB. See original PR for full explanation.
TLDR this stops a hard crash and lets it close naturally.
Any changes let me know 🫡