class Freno::Throttler::WaitedTooLong

Raised if the throttler has waited too long for replication delay to catch up.

Public Class Methods

new(waited_seconds: DEFAULT_WAIT_SECONDS, max_wait_seconds: DEFAULT_MAX_WAIT_SECONDS) click to toggle source
Calls superclass method
# File lib/freno/throttler/errors.rb, line 12
def initialize(waited_seconds: DEFAULT_WAIT_SECONDS, max_wait_seconds: DEFAULT_MAX_WAIT_SECONDS)
  super("Waited #{waited_seconds} seconds. Max allowed was #{max_wait_seconds} seconds")
end