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

Name of job set by displayName() must be honoured by Schedule #51038

Merged
merged 1 commit into from
Apr 12, 2024

Conversation

SCIF
Copy link
Contributor

@SCIF SCIF commented Apr 12, 2024

Queue jobs could have displayName() method providing a better naming than just a plain classname. This name is currently honoured by a queue worker but a queue scheduler. This PR fixes this inconsistency

@SCIF
Copy link
Contributor Author

SCIF commented Apr 12, 2024

Added a check to make sure the container hasn't instantiated a job to make sure the bug from #51034 is fixed.

@SCIF
Copy link
Contributor Author

SCIF commented Apr 12, 2024

@SanderMuller , @RobertBoes , please check this out

@taylorotwell taylorotwell merged commit 5f5484f into laravel:11.x Apr 12, 2024
28 checks passed
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.

2 participants