diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2019-05-08 12:30:31 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-09-17 16:57:29 +0800 |
commit | 1d5c2166ba4e733343faf0afd83a3c81fb6f4a40 (patch) | |
tree | ff53608a3d5e5b3ab99b876d85759a3569ace91d | |
parent | 748e450239533fb124e3635e4484f8a96d6fbd56 (diff) | |
download | go-tangerine-1d5c2166ba4e733343faf0afd83a3c81fb6f4a40.tar go-tangerine-1d5c2166ba4e733343faf0afd83a3c81fb6f4a40.tar.gz go-tangerine-1d5c2166ba4e733343faf0afd83a3c81fb6f4a40.tar.bz2 go-tangerine-1d5c2166ba4e733343faf0afd83a3c81fb6f4a40.tar.lz go-tangerine-1d5c2166ba4e733343faf0afd83a3c81fb6f4a40.tar.xz go-tangerine-1d5c2166ba4e733343faf0afd83a3c81fb6f4a40.tar.zst go-tangerine-1d5c2166ba4e733343faf0afd83a3c81fb6f4a40.zip |
dex: change pull block rate limit (#420)
-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 |