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@byzantine-lab.io>2019-06-12 17:27:18 +0800
commitafc6a417210dc43a5a38ece5302de6801785316f (patch)
treebdf34181a628038f935e161433fe1b612a5b3bae /dex/handler.go
parent82d138debeac23029d3640ee7bc31c4ed093ff28 (diff)
downloadgo-tangerine-afc6a417210dc43a5a38ece5302de6801785316f.tar.gz
go-tangerine-afc6a417210dc43a5a38ece5302de6801785316f.tar.zst
go-tangerine-afc6a417210dc43a5a38ece5302de6801785316f.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