Method RecordFailure(string, int?)
Record a failed attempt; may transition the key into lockout.
maxAttemptsOverride lets a caller use a wider budget for a coarser
bucket (e.g. the per-IP spray bucket) on the same shared instance.
public void RecordFailure(string key, int? maxAttemptsOverride = null)