Skip to content

Conversation

@pprkut
Copy link
Collaborator

@pprkut pprkut commented Mar 5, 2025

This makes it easier for hooks to work with these times, rather than having to track those for every job themselves.

Previously you could do this with dynamic properties on the JobHandler class, but that is deprecated in PHP 8.2.

https://github.com/chrisboulton/php-resque-statsd and https://github.com/move-backend/php-resque-influxdb/ are examples for hooks that would need this.

This makes it easier for hooks to work with these times,
rather than having to track those for every job themselves.

Previously you could do this with dynamic properties on the
JobHandler class, but that is deprecated in PHP 8.2.
@danhunsaker danhunsaker merged commit 2b65f50 into resque:develop Mar 5, 2025
9 of 10 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