/**
  * Get the delayed jobs that are ready.
  *
  * @param  string  $queue
  * @param  int     $time
  * @return array
  */
 protected function getExpiredJobs($queue, $time)
 {
     return $this->redis->zrangebyscore($queue, '-inf', $time);
 }