Skip to content

Commit

Permalink
Merge pull request #40553 from lavalamp/cp-40497
Browse files Browse the repository at this point in the history
Automatic merge from submit-queue

Adjust global log limit to 1ms

Per further discussion, we adjusted the limit. Making this a separate PR since the CP already merged.
  • Loading branch information
Kubernetes Submit Queue committed Jan 27, 2017
2 parents 19f83fc + e4f22b5 commit 64029a2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkg/util/runtime/runtime.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}

Expand Down

0 comments on commit 64029a2

Please sign in to comment.