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@dexon.org>2019-03-12 12:19:09 +0800
commita7323720e34e6da893be1dd853db305536bd2a5b (patch)
tree65bccfb387ed5917277de3cbafa9a5a941993833 /dex
parent8b555ae56c581718077891974b0606bc32e6488b (diff)
downloaddexon-a7323720e34e6da893be1dd853db305536bd2a5b.tar
dexon-a7323720e34e6da893be1dd853db305536bd2a5b.tar.gz
dexon-a7323720e34e6da893be1dd853db305536bd2a5b.tar.bz2
dexon-a7323720e34e6da893be1dd853db305536bd2a5b.tar.lz
dexon-a7323720e34e6da893be1dd853db305536bd2a5b.tar.xz
dexon-a7323720e34e6da893be1dd853db305536bd2a5b.tar.zst
dexon-a7323720e34e6da893be1dd853db305536bd2a5b.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