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

Set default value for job $payload['pushedAt'] when retrying #1211

Merged
merged 4 commits into from
Nov 4, 2022

Conversation

stevebauman
Copy link
Contributor

Closes #1210

This PR implements using the current time as the default pushedAt value, in case one is not present in the encoded job payload.

I've added a test to ensure the Undefined array key exception is no longer thrown when retrying a job that contains a retryUntil, but not a pushedAt timestamp in its payload.

@taylorotwell taylorotwell merged commit 96d8a1a into laravel:5.x Nov 4, 2022
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.

Undefined array key "pushedAt" - Restarting Failed Queued Listener
2 participants