horizon: Call to undefined method Illuminate\Queue\RedisQueue::readyNow()

I’m yet to figure out why this is happening…


protected function timeToClearPerQueue(Supervisor $supervisor, Collection $pools)
--
  | {
  | return $pools->mapWithKeys(function ($pool, $queue) use ($supervisor) {
  | $size = $this->queue->connection($supervisor->options->connection)->readyNow($queue);
  |  
  | return [$queue => ($size * $this->metrics->runtimeForQueue($queue))];
  | });


About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 18 (10 by maintainers)

Most upvoted comments

This issue is there in Laravel 5.8 too

+1 happened on my side as well using laravel 5.5.

Call to undefined method Illuminate\Queue\RedisQueue::readyNow() {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\FatalThrowableError(code: 0): Call to undefined method Illuminate\\Queue\\RedisQueue::readyNow() at /var/www/app/public_html/vendor/laravel/horizon/src/AutoScaler.php:80)

This should be fixed in latest version