简体   繁体   中英

Query the size of a Laravel queue

I am planning to use Laravel Queue, and now I am doing some research:

Is it possible to get the size of a Laravel queue? Even better, can I get some statistics of a Laravel queue?

Queue::size($queue);

The size method will return the size of the given queue. Queue::size() will return the size of the default queue.

If you are using redis you can use Laravel Horizon to get more detailed insights into what is happening in your queues.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM