From f79bf330b4b649ea74d54faf749214c14f32af9c Mon Sep 17 00:00:00 2001 From: Wei-Ning Huang Date: Mon, 26 Nov 2018 10:00:31 +0800 Subject: core: various changes on tps tuning (#46) --- dex/handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dex/handler.go') 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 -- cgit v1.2.3