class Aws::Plugins::Retries::ClientRateLimiter

def calculate_time_window

def calculate_time_window
  # This is broken out into a separate calculation because it only
  # gets updated when @last_max_rate changes so it can be cached.
  @time_window = ((@last_max_rate * (1 - BETA)) / SCALE_CONSTANT)**(1.0 / 3)
end