mirror of https://github.com/k3s-io/k3s
Adjust global log limit to 1ms
parent
b03b5de5af
commit
16b7bee56d
|
@ -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,
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue