Last active
April 8, 2020 09:48
-
-
Save derhansen/90a599e249c28b6258a3 to your computer and use it in GitHub Desktop.
Laravel 5 - get amount of jobs in a queue (redis driver)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$numJobs = Redis::connection()->llen('queues:myqueue'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment