Are you referring to the fact that the counter continues to be incremented in the cache even if the burst_rate has already been exceeded? If so, I agree that the counter should only be incremented in the cache if the counter + increment_value does not exceed the burst_rate, otherwise it should just return true (for throttled?).
Are you referring to the fact that the counter continues to be incremented in the cache even if the
burst_rate
has already been exceeded? If so, I agree that the counter should only be incremented in the cache if thecounter + increment_value
does not exceed theburst_rate
, otherwise it should just return true (forthrottled?
).