4
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2025-07-13 14:06:28 +00:00

more debugging

This commit is contained in:
Arceliar
2018-10-21 00:05:04 -05:00
parent 95201669fe
commit 6c59ae862a
3 changed files with 59 additions and 16 deletions

View File

@ -92,6 +92,7 @@ func (r *router) mainLoop() {
r.sendPacket(p)
case info := <-r.core.dht.peers:
r.core.dht.insert(info)
info.throttle = 0
case <-r.reset:
r.core.sessions.resetInits()
r.core.dht.reset()