diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2019-05-08 12:30:31 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-05-22 21:38:06 +0800 |
commit | 233d4eabc96afb8bd0b4f1148dbdda3afd203ced (patch) | |
tree | d8f59541007f56aff8f490af6eaf137391d9db9c /dex | |
parent | ad310d7e24b7264ec08a69f5c487def45f61863f (diff) | |
download | dexon-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.go | 2 |
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 |