Browse Source

Merge pull request #6825 from gyuho/new

etcdserver: increase maxGapBetweenApplyAndCommitIndex
Gyu-Ho Lee 9 years ago
parent
commit
9c7a0a68e5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      etcdserver/v3_server.go

+ 1 - 1
etcdserver/v3_server.go

@@ -47,7 +47,7 @@ const (
 	// the applied index and committed index.
 	// However, if the committed entries are very heavy to apply, the gap might grow.
 	// We should stop accepting new proposals if the gap growing to a certain point.
-	maxGapBetweenApplyAndCommitIndex = 1000
+	maxGapBetweenApplyAndCommitIndex = 5000
 )
 
 var (