Commit e66b1e6d authored by Aaron Raddon's avatar Aaron Raddon

Change log-throttle threshold lt vs lte, closes #17

parent c4d51044
......@@ -51,7 +51,7 @@ func (r *Throttler) Throttle() (bool, int32) {
r.allowance = r.maxPer
}
if r.allowance <= 1.0 {
if r.allowance < 1.0 {
r.count++ // increment throttled log count
return true, r.count // do throttle/limit
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment