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>2019-04-09 13:49:55 +0800
commit1f76d8428e1bf5b07abed54cd5dfcb7b7c5f26cb (patch)
tree91b48938758b91c66dfc35e94ce49726a42dd127
parenta199c7511aae821cd42710f7ae0c849fee18abae (diff)
downloaddexon-1f76d8428e1bf5b07abed54cd5dfcb7b7c5f26cb.tar
dexon-1f76d8428e1bf5b07abed54cd5dfcb7b7c5f26cb.tar.gz
dexon-1f76d8428e1bf5b07abed54cd5dfcb7b7c5f26cb.tar.bz2
dexon-1f76d8428e1bf5b07abed54cd5dfcb7b7c5f26cb.tar.lz
dexon-1f76d8428e1bf5b07abed54cd5dfcb7b7c5f26cb.tar.xz
dexon-1f76d8428e1bf5b07abed54cd5dfcb7b7c5f26cb.tar.zst
dexon-1f76d8428e1bf5b07abed54cd5dfcb7b7c5f26cb.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