You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[12.x] Standardize size() behavior and add extended queue metrics support (#56010)
* Add methods for metrics on queues for; pending size, delayed size, reserved size and oldest job where available.
Add the new metrics to the monitor command output.
Update the QueueFake driver to support testing delayed jobs and reserved jobs.
* Add new line to make cli output more readable
* Fix redis oldestPending
* Update comments
* Add pending jobs to CLI
* Fix SQS driver
The size method now follows the convention of all other drivers where size() returns the total number of jobs and not just pending jobs
* Add comments on sqs methods
* Update beanstalkd size() method to return the total size of the queue
Remove redundant int casts
* Lint
Remove unused --metrics flag
* Update SQS test case to support updated size() method
* Add phpdoc for Queue interface
* formatting
* formatting
* Formatting
* remove test
---------
Co-authored-by: Taylor Otwell <taylor@laravel.com>
0 commit comments