aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJimmy Hu <jimmy.hu@dexon.org>2019-05-08 12:30:31 +0800
committerWei-Ning Huang <w@byzantine-lab.io>2019-09-17 16:57:29 +0800
commit1d5c2166ba4e733343faf0afd83a3c81fb6f4a40 (patch)
treeff53608a3d5e5b3ab99b876d85759a3569ace91d
parent748e450239533fb124e3635e4484f8a96d6fbd56 (diff)
downloadgo-tangerine-1d5c2166ba4e733343faf0afd83a3c81fb6f4a40.tar.gz
go-tangerine-1d5c2166ba4e733343faf0afd83a3c81fb6f4a40.tar.zst
go-tangerine-1d5c2166ba4e733343faf0afd83a3c81fb6f4a40.zip
dex: change pull block rate limit (#420)
-rw-r--r--dex/handler.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/dex/handler.go b/dex/handler.go
index 7bf23758c..cfa6d9bb1 100644
--- a/dex/handler.go
+++ b/dex/handler.go
@@ -85,7 +85,7 @@ const (
maxPullVotePeers = 1
pullVoteRateLimit = 3 * time.Second
- pullBlockRateLimit = 3 * time.Second
+ pullBlockRateLimit = 500 * time.Millisecond
maxAgreementResultBroadcast = 3
maxFinalizedBlockBroadcast = 3