aboutsummaryrefslogtreecommitdiffstats
path: root/dex
diff options
context:
space:
mode:
authorJimmy Hu <jimmy.hu@dexon.org>2019-05-08 12:30:31 +0800
committerWei-Ning Huang <w@dexon.org>2019-05-22 21:38:06 +0800
commit233d4eabc96afb8bd0b4f1148dbdda3afd203ced (patch)
treed8f59541007f56aff8f490af6eaf137391d9db9c /dex
parentad310d7e24b7264ec08a69f5c487def45f61863f (diff)
downloaddexon-233d4eabc96afb8bd0b4f1148dbdda3afd203ced.tar.gz
dexon-233d4eabc96afb8bd0b4f1148dbdda3afd203ced.tar.zst
dexon-233d4eabc96afb8bd0b4f1148dbdda3afd203ced.zip
dex: change pull block rate limit (#420)
Diffstat (limited to 'dex')
-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