From b12a872216852e1a8398493cc669cd8ad06bef2b Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Thu, 25 Jul 2024 17:57:40 -0400 Subject: [PATCH] perf: further reduce timeout propose to 1sec (backport #1968) (#1969) Co-authored-by: Teddy Ding --- protocol/cmd/dydxprotocold/cmd/root.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocol/cmd/dydxprotocold/cmd/root.go b/protocol/cmd/dydxprotocold/cmd/root.go index dd3036bdfa..2ea07c5739 100644 --- a/protocol/cmd/dydxprotocold/cmd/root.go +++ b/protocol/cmd/dydxprotocold/cmd/root.go @@ -58,7 +58,7 @@ const ( flagIAVLCacheSize = "iavl-cache-size" // TimeoutProposeOverride is the software override for the `timeout_propose` consensus parameter. - TimeoutProposeOverride = 1500 * time.Millisecond + TimeoutProposeOverride = 1 * time.Second ) // NewRootCmd creates a new root command for `dydxprotocold`. It is called once in the main function.