public function calculate(int $callsMade, int $callsLimit)
    {
        $callPercentage = floatval($callsMade / $callsLimit);
        $limitPercentage = floatval(($callsLimit - $this->processes - $this->buffer) / $callsLimit);

        return $callPercentage > $limitPercentage ? ($this->processes * $this->cycle) : $this->cycle;
    }