aboutsummaryrefslogtreecommitdiffstats
path: root/dex
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2018-11-01 14:25:33 +0800
committerWei-Ning Huang <w@byzantine-lab.io>2019-06-12 17:27:17 +0800
commit3feb8792cff19c8cf202c2bd530ceb2e7c12d9f7 (patch)
tree02dbd0cbddacc933ad020c4486c2a9073ff96ff7 /dex
parent6feecf26f7a292cf384616153c8e5bf0617a12bf (diff)
downloadgo-tangerine-3feb8792cff19c8cf202c2bd530ceb2e7c12d9f7.tar
go-tangerine-3feb8792cff19c8cf202c2bd530ceb2e7c12d9f7.tar.gz
go-tangerine-3feb8792cff19c8cf202c2bd530ceb2e7c12d9f7.tar.bz2
go-tangerine-3feb8792cff19c8cf202c2bd530ceb2e7c12d9f7.tar.lz
go-tangerine-3feb8792cff19c8cf202c2bd530ceb2e7c12d9f7.tar.xz
go-tangerine-3feb8792cff19c8cf202c2bd530ceb2e7c12d9f7.tar.zst
go-tangerine-3feb8792cff19c8cf202c2bd530ceb2e7c12d9f7.zip
dex: increase TX queue size
Diffstat (limited to 'dex')
-rw-r--r--dex/peer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/dex/peer.go b/dex/peer.go
index 195be920e..c005cec16 100644
--- a/dex/peer.go
+++ b/dex/peer.go
@@ -57,7 +57,7 @@ const (
// maxQueuedTxs is the maximum number of transaction lists to queue up before
// dropping broadcasts. This is a sensitive number as a transaction list might
// contain a single transaction, or thousands.
- maxQueuedTxs = 128
+ maxQueuedTxs = 1024
maxQueuedMetas = 512