From 7cf85c5e71a442aafa812763b74e30868d1b3c7f Mon Sep 17 00:00:00 2001 From: Jae Kwon Date: Sat, 9 Jan 2016 20:22:10 -0800 Subject: [PATCH] Change commit timeout to 1 sec for testing --- consensus/state.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consensus/state.go b/consensus/state.go index a7d83359e..dd7ec5550 100644 --- a/consensus/state.go +++ b/consensus/state.go @@ -24,7 +24,7 @@ var ( timeoutPrevoteDelta = 0500 * time.Millisecond // timeoutPrevoteN is timeoutPrevote0 + timeoutPrevoteDelta*N timeoutPrecommit0 = 1000 * time.Millisecond // After any +2/3 precommits received, wait this long for stragglers. timeoutPrecommitDelta = 0500 * time.Millisecond // timeoutPrecommitN is timeoutPrecommit0 + timeoutPrecommitDelta*N - timeoutCommit = 100 * time.Millisecond // After +2/3 commits received for committed block, wait this long for stragglers in the next height's RoundStepNewHeight. + timeoutCommit = 1000 * time.Millisecond // After +2/3 commits received for committed block, wait this long for stragglers in the next height's RoundStepNewHeight. )