public function nextUpdate()
    {
        if ($this->rawStatusCode === 503 &&
            strpos($this->base, 'http') === 0
        ) {
            return $this->time + min(self::CACHE_TIME, $this->headerParser->getRetryAfter($this->time));
        }
        return $this->time + self::CACHE_TIME;
    }