diff options
author | Wei-Ning Huang <w@dexon.org> | 2019-03-11 12:14:27 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 13:50:03 +0800 |
commit | 155b83e19798b4f1207363203d7d7bbfe54d371e (patch) | |
tree | 3b11648d08de86c376741fc01314d2f7ef08638b /p2p | |
parent | 447e10eeb285e270aec5616cef64063bbb6cea68 (diff) | |
download | dexon-155b83e19798b4f1207363203d7d7bbfe54d371e.tar dexon-155b83e19798b4f1207363203d7d7bbfe54d371e.tar.gz dexon-155b83e19798b4f1207363203d7d7bbfe54d371e.tar.bz2 dexon-155b83e19798b4f1207363203d7d7bbfe54d371e.tar.lz dexon-155b83e19798b4f1207363203d7d7bbfe54d371e.tar.xz dexon-155b83e19798b4f1207363203d7d7bbfe54d371e.tar.zst dexon-155b83e19798b4f1207363203d7d7bbfe54d371e.zip |
dex: fetcher: modify parameters to speedup syncing (#239)
Diffstat (limited to 'p2p')
-rw-r--r-- | p2p/dial.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/p2p/dial.go b/p2p/dial.go index b323bdac1..cd226c53a 100644 --- a/p2p/dial.go +++ b/p2p/dial.go @@ -223,6 +223,7 @@ func (s *dialstate) newTasks(nRunning int, peers map[enode.ID]*Peer, now time.Ti log.Warn("Removing direct dial candidate", "id", t.dest.ID(), "addr", &net.TCPAddr{IP: t.dest.IP(), Port: t.dest.TCP()}, "err", err) delete(s.direct, t.dest.ID()) case nil: + log.Debug("Direct peer connected", "id", id) s.dialing[id] = t.flags newtasks = append(newtasks, t) } |