diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2019-04-18 15:21:27 +0800 |
---|---|---|
committer | Jimmy Hu <jimmy.hu@dexon.org> | 2019-04-24 14:54:20 +0800 |
commit | b172f6701f6b235c5ceef997205732ced2fdc7d3 (patch) | |
tree | cb0dcc3725e83129a379134f7fb4ebd8255bd347 /dex | |
parent | f42917678ec3161e58fc9c5a292dbe1b1094d178 (diff) | |
download | dexon-b172f6701f6b235c5ceef997205732ced2fdc7d3.tar dexon-b172f6701f6b235c5ceef997205732ced2fdc7d3.tar.gz dexon-b172f6701f6b235c5ceef997205732ced2fdc7d3.tar.bz2 dexon-b172f6701f6b235c5ceef997205732ced2fdc7d3.tar.lz dexon-b172f6701f6b235c5ceef997205732ced2fdc7d3.tar.xz dexon-b172f6701f6b235c5ceef997205732ced2fdc7d3.tar.zst dexon-b172f6701f6b235c5ceef997205732ced2fdc7d3.zip |
dex: change rate limit of pullblock
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 fb2ce4e4d..fd21a1164 100644 --- a/dex/handler.go +++ b/dex/handler.go @@ -84,7 +84,7 @@ const ( maxPullVotePeers = 1 pullVoteRateLimit = 3 * time.Second - pullBlockRateLimit = 3 * time.Second + pullBlockRateLimit = 500 * time.Millisecond maxAgreementResultBroadcast = 3 maxFinalizedBlockBroadcast = 3 |