schmittjoh / JMSJobQueueBundle

Run and Schedule Symfony Console Commands as Background Jobs
http://jmsyst.com/bundles/JMSJobQueueBundle
335 stars 254 forks source link

Fix for getAvailableJobsForQueueCount in JobRepository #143

Closed Avoran closed 7 years ago

Avoran commented 8 years ago

The count only returned 0 or 1, where the name suggest returning the real count of available jobs. In this pull request it does return the correct amount.