Commit 16b7bee5 authored by Daniel Smith's avatar Daniel Smith

Adjust global log limit to 1ms

parent b03b5de5
......@@ -87,7 +87,10 @@ var ErrorHandlers = []func(error){
logError,
(&rudimentaryErrorBackoff{
lastErrorTime: time.Now(),
minPeriod: 500 * time.Millisecond,
// 1ms was the number folks were able to stomach as a global rate limit.
// If you need to log errors more than 1000 times a second you
// should probably consider fixing your code instead. :)
minPeriod: time.Millisecond,
}).OnError,
}
......
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