소스 검색

Merge pull request #6644 from kragniz/increase-warn-duration

etcdserver: increase warnApplyDuration from 10ms to 100ms
Xiang Li 9 년 전
부모
커밋
57008f1690
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      etcdserver/apply.go

+ 1 - 1
etcdserver/apply.go

@@ -35,7 +35,7 @@ const (
 	// to apply functions instead of a valid txn ID.
 	// to apply functions instead of a valid txn ID.
 	noTxn = -1
 	noTxn = -1
 
 
-	warnApplyDuration = 10 * time.Millisecond
+	warnApplyDuration = 100 * time.Millisecond
 )
 )
 
 
 type applyResult struct {
 type applyResult struct {