protected function getNextJob($connection, $queue)
    {
        if ($this->cache) {
            foreach ($this->eyeQueues as $queue) {
                $this->eyewitnessHeartbeat($queue);
            }
        }

        foreach ($this->eyeQueues as $queue) {
            $this->currentQueue = $queue;

            $job = parent::getNextJob($connection, $queue->tube);

            if (! is_null($job)) {
                $this->eyeTube = $queue->tube;
                return $job;
            }
        }
    }