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-04-09 21:32:54 +0800
commit622ae7fe3ef067d4f395937a9bb0f783a7c1e6c7 (patch)
tree995b1db1cb20fc0fecb240338d089f0c49d1d986 /dex/handler.go
parentc11db35c2d3f5ca5f4b5749294e154f10ef6b1c1 (diff)
downloadgo-tangerine-622ae7fe3ef067d4f395937a9bb0f783a7c1e6c7.tar
go-tangerine-622ae7fe3ef067d4f395937a9bb0f783a7c1e6c7.tar.gz
go-tangerine-622ae7fe3ef067d4f395937a9bb0f783a7c1e6c7.tar.bz2
go-tangerine-622ae7fe3ef067d4f395937a9bb0f783a7c1e6c7.tar.lz
go-tangerine-622ae7fe3ef067d4f395937a9bb0f783a7c1e6c7.tar.xz
go-tangerine-622ae7fe3ef067d4f395937a9bb0f783a7c1e6c7.tar.zst
go-tangerine-622ae7fe3ef067d4f395937a9bb0f783a7c1e6c7.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