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] Added JobPopping and JobPopped events #46220

Merged
merged 4 commits into from
Feb 25, 2023
Merged

[10.x] Added JobPopping and JobPopped events #46220

merged 4 commits into from
Feb 25, 2023

Conversation

mingalevme
Copy link
Contributor

Added two new events to monitor queue:work-process.

With these events is easy to make a listener which, for example, can update some file (or any other storage) on every pop-event with current timestamp. That particularly useful for k8s liveness probe.
Existing events JobProcessing and JobProcessed are useless in case when a queue is rarely pushed cause they raised only if some job has been popped.

@mingalevme mingalevme changed the title Added JobPopping and JobPopped events [10.x] Added JobPopping and JobPopped events Feb 22, 2023
@taylorotwell taylorotwell merged commit 864d2e5 into laravel:10.x Feb 25, 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