Skip to content

Commit

Permalink
etcdserver: increase warnApplyDuration from 10ms to 100ms
Browse files Browse the repository at this point in the history
When running test suites for a client locally I'm getting spammed by log
lines such as:

    etcdserver: apply entries took too long [14.226771ms for 1 entries]

The comments in #6278 mention there were future plans of increasing the
threshold for logging these warnings, but it hadn't been done yet.
  • Loading branch information
kragniz committed Oct 13, 2016
1 parent 354891f commit 9df97eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etcdserver/apply.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const (
// to apply functions instead of a valid txn ID.
noTxn = -1

warnApplyDuration = 10 * time.Millisecond
warnApplyDuration = 100 * time.Millisecond
)

type applyResult struct {
Expand Down

0 comments on commit 9df97eb

Please sign in to comment.