Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[10.x] Fix infinite loading on batches list on Horizon #46536

Merged
merged 1 commit into from
Mar 21, 2023

Conversation

LonnyX
Copy link
Contributor

@LonnyX LonnyX commented Mar 21, 2023

As described on this issue: laravel/horizon#1259

If a model is deleted while it still exists on the batches list (serialized), it will cause the batches list to be broken.

The reason for this is that when the unserialize function is called, it tries to invoke the __unserialize() or __wakeup() methods automatically, and if the model does not exist, an exception is thrown.

As described on this issue: laravel/horizon#1259

If a model is deleted while it still exists on the batches list (serialized), it will cause the batches list to be broken.

The reason for this is that when the unserialize function is called, it tries to invoke the __unserialize() or __wakeup() methods automatically, and if the model does not exist, an exception is thrown.
@taylorotwell taylorotwell merged commit a8d7bb6 into laravel:10.x Mar 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants