aboutsummaryrefslogtreecommitdiffstats
path: root/dex/handler.go
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2018-11-26 10:00:31 +0800
committerWei-Ning Huang <w@dexon.org>2019-03-12 12:19:09 +0800
commitf79bf330b4b649ea74d54faf749214c14f32af9c (patch)
tree1cf494fda8e45813c6e4062a587dfd3ecf1d5a54 /dex/handler.go
parentb4f183ba63e3ab5dccc6371faaa57c77b61e967b (diff)
downloaddexon-f79bf330b4b649ea74d54faf749214c14f32af9c.tar.gz
dexon-f79bf330b4b649ea74d54faf749214c14f32af9c.tar.zst
dexon-f79bf330b4b649ea74d54faf749214c14f32af9c.zip
core: various changes on tps tuning (#46)
Diffstat (limited to 'dex/handler.go')
-rw-r--r--dex/handler.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/dex/handler.go b/dex/handler.go
index b4499ae5a..60a5ede17 100644
--- a/dex/handler.go
+++ b/dex/handler.go
@@ -1112,7 +1112,7 @@ func (pm *ProtocolManager) txBroadcastLoop() {
txs := make(types.Transactions, 0)
for {
select {
- case <-time.After(500 * time.Millisecond):
+ case <-time.After(100 * time.Millisecond):
pm.BroadcastTxs(txs)
txs = txs[:0]
currentSize = 0