lib/sail/instrumenter.rb
def increment_failure_of(setting_name)
      self[setting_name][:failures] += 1
      Sail.reset(setting_name) if self[setting_name][:failures] > Sail.configuration.failures_until_reset
    end
def increment_failure_of(setting_name)
      self[setting_name][:failures] += 1
      Sail.reset(setting_name) if self[setting_name][:failures] > Sail.configuration.failures_until_reset
    end
increment_failure_of

 Counts the number of failed code block executions
 enveloped by a given setting. If the number of failures
 exceeds the amount configured, resets the setting value