start migrating the router to an actor

This commit is contained in:
Arceliar 2019-08-23 18:47:15 -05:00
parent 562a7d1f19
commit 9d7e7288c6
8 changed files with 51 additions and 54 deletions

View file

@ -134,7 +134,7 @@ func (c *Conn) doSearch() {
sinfo.continueSearch()
}
}
go func() { c.core.router.admin <- routerWork }()
go c.core.router.doAdmin(routerWork)
}
func (c *Conn) getDeadlineCancellation(value *atomic.Value) (util.Cancellation, bool) {