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-04-09 21:32:52 +0800
commit83bde85b0edcde7498ce1903cd22dd3b7e1e5b60 (patch)
tree52f1a61084332b7acbb0eae84ecad3bd82617605 /dex
parent2b99b89e5af0cf9feca3ab532629f8fab3858edc (diff)
downloaddexon-83bde85b0edcde7498ce1903cd22dd3b7e1e5b60.tar.gz
dexon-83bde85b0edcde7498ce1903cd22dd3b7e1e5b60.tar.zst
dexon-83bde85b0edcde7498ce1903cd22dd3b7e1e5b60.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