diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2019-05-08 12:30:31 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-08 12:30:31 +0800 |
commit | 5ce2f594301116126ee4a80d9de67f30daf9b703 (patch) | |
tree | 42961066149f51271762d12fe6b7b8b4df9eb0cd | |
parent | 5ec22aeda3d6b606bc1cf93a4d7ae0576765428a (diff) | |
download | dexon-5ce2f594301116126ee4a80d9de67f30daf9b703.tar.gz dexon-5ce2f594301116126ee4a80d9de67f30daf9b703.tar.zst dexon-5ce2f594301116126ee4a80d9de67f30daf9b703.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 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 |