From d275ff4e2a1ac6ccaf3b55bcbee87bcbd8c0df0c Mon Sep 17 00:00:00 2001 From: chao Date: Wed, 12 Jun 2019 17:36:57 -0700 Subject: [PATCH] change default delay commit message time to be 0 --- cmd/harmony/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/harmony/main.go b/cmd/harmony/main.go index ff7d64711..4550c63f2 100644 --- a/cmd/harmony/main.go +++ b/cmd/harmony/main.go @@ -96,7 +96,7 @@ var ( // isArchival indicates this node is an archival node that will save and archive current blockchain isArchival = flag.Bool("is_archival", false, "true means this node is a archival node") // delayCommit is the commit-delay timer, used by Harmony nodes - delayCommit = flag.String("delay_commit", "500ms", "how long to delay sending commit messages in consensus, ex: 500ms, 1s") + delayCommit = flag.String("delay_commit", "0ms", "how long to delay sending commit messages in consensus, ex: 500ms, 1s") //isNewNode indicates this node is a new node isNewNode = flag.Bool("is_newnode", false, "true means this node is a new node") shardID = flag.Int("shard_id", -1, "the shard ID of this node")