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-25 14:56:54 +0800 |
commit | 2e9c8ba3bb00b23eae3b84d1590cec6b12d99293 (patch) | |
tree | 3af5d506f529e8fb9ea11089403b1ad92e1cd15d /dex | |
parent | be6fd4dbd3970fafd5f57314b50b9b9c94aaec0f (diff) | |
download | dexon-2e9c8ba3bb00b23eae3b84d1590cec6b12d99293.tar dexon-2e9c8ba3bb00b23eae3b84d1590cec6b12d99293.tar.gz dexon-2e9c8ba3bb00b23eae3b84d1590cec6b12d99293.tar.bz2 dexon-2e9c8ba3bb00b23eae3b84d1590cec6b12d99293.tar.lz dexon-2e9c8ba3bb00b23eae3b84d1590cec6b12d99293.tar.xz dexon-2e9c8ba3bb00b23eae3b84d1590cec6b12d99293.tar.zst dexon-2e9c8ba3bb00b23eae3b84d1590cec6b12d99293.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 fed1dc8b7..5e3081202 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 |