mirror of
https://github.com/cwinfo/yggdrasil-go.git
synced 2025-07-13 14:06:28 +00:00
misc dht and tree changes to stabilize coords and bootstrap the dht faster
This commit is contained in:
@ -80,7 +80,7 @@ func (r *router) mainLoop() {
|
||||
r.core.dht.insertIfNew(info, true)
|
||||
case <-r.reset:
|
||||
r.core.sessions.resetInits()
|
||||
r.core.dht.resetPeers()
|
||||
r.core.dht.reset()
|
||||
case <-ticker.C:
|
||||
{
|
||||
// Any periodic maintenance stuff goes here
|
||||
|
Reference in New Issue
Block a user