Merge pull request #1166 from chaosma/master

change default timeout in consensus protocol
pull/1168/head drum_tag
Eugene Kim 5 years ago committed by GitHub
commit 12bb1d44e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      consensus/config.go

@ -7,10 +7,10 @@ const (
// The duration of viewChangeTimeout; when a view change is initialized with v+1
// timeout will be equal to viewChangeDuration; if view change failed and start v+2
// timeout will be 2*viewChangeDuration; timeout of view change v+n is n*viewChangeDuration
viewChangeDuration time.Duration = 300 * time.Second
viewChangeDuration time.Duration = 60 * time.Second
// timeout duration for announce/prepare/commit
phaseDuration time.Duration = 300 * time.Second
phaseDuration time.Duration = 120 * time.Second
bootstrapDuration time.Duration = 300 * time.Second
maxLogSize uint32 = 1000
// threshold between received consensus message blockNum and my blockNum

Loading…
Cancel
Save