aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2018-11-01 14:25:33 +0800
committerWei-Ning Huang <w@dexon.org>2018-12-19 20:54:27 +0800
commitb42e872236a62d527ee5a99abb0dbee1085e133e (patch)
tree47fe229cca14ae816243c1d405dfb6045c6b5ae7
parent10511980f4e0d5d5330b2fd619e6d805c65938fd (diff)
downloaddexon-b42e872236a62d527ee5a99abb0dbee1085e133e.tar
dexon-b42e872236a62d527ee5a99abb0dbee1085e133e.tar.gz
dexon-b42e872236a62d527ee5a99abb0dbee1085e133e.tar.bz2
dexon-b42e872236a62d527ee5a99abb0dbee1085e133e.tar.lz
dexon-b42e872236a62d527ee5a99abb0dbee1085e133e.tar.xz
dexon-b42e872236a62d527ee5a99abb0dbee1085e133e.tar.zst
dexon-b42e872236a62d527ee5a99abb0dbee1085e133e.zip
dex: increase TX queue size
-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