From 9df97eb44197237c713d38a127e54ceffc0b3c2c Mon Sep 17 00:00:00 2001 From: Louis Taylor Date: Thu, 13 Oct 2016 17:48:11 +0100 Subject: [PATCH] etcdserver: increase warnApplyDuration from 10ms to 100ms 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. --- etcdserver/apply.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etcdserver/apply.go b/etcdserver/apply.go index ce17f798410..6162287b9de 100644 --- a/etcdserver/apply.go +++ b/etcdserver/apply.go @@ -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 {