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

[5.1] Ensure ModelIdentifier use write PDO connection. #12794

Merged
merged 1 commit into from
Mar 19, 2016

Conversation

crynobone
Copy link
Member

When working with SerializesModels, it is possible that when Queue attempts to work on the job
the model is yet to be available on the read PDO connection, therefore findOrFail() would just fail.

On heavy server load, it also possible that the latency is long enough to max out the number of attempts
configured for queue.

Signed-off-by: crynobone [email protected]

When working with SerializesModels, it is possible that when Queue attempts to work on the job
the model is yet available on the read PDO connection, therefore `findOrFail()` would just fail,

On heavy server load, it is possible that the latency is big enough the max out the number of attempts
configured for queue.

Signed-off-by: crynobone <[email protected]>
@GrahamCampbell GrahamCampbell changed the title Ensure ModelIdentifier use write PDO connection. [5.1] Ensure ModelIdentifier use write PDO connection. Mar 19, 2016
taylorotwell added a commit that referenced this pull request Mar 19, 2016
[5.1] Ensure ModelIdentifier use write PDO connection.
@taylorotwell taylorotwell merged commit a810989 into laravel:5.1 Mar 19, 2016
@crynobone crynobone deleted the patch-5.1/use-write-pdo branch April 19, 2017 00:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants