mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-28 22:25:07 +03:00
Allow updating Listen during runtime
This commit is contained in:
parent
f96747181d
commit
cb4495902b
3 changed files with 62 additions and 15 deletions
|
@ -109,13 +109,14 @@ func (c *Core) UpdateConfig(config *config.NodeConfig) {
|
|||
|
||||
components := []chan chan error{
|
||||
c.admin.reconfigure,
|
||||
c.searches.reconfigure,
|
||||
c.dht.reconfigure,
|
||||
c.sessions.reconfigure,
|
||||
//c.searches.reconfigure,
|
||||
//c.dht.reconfigure,
|
||||
//c.sessions.reconfigure,
|
||||
//c.peers.reconfigure,
|
||||
//c.router.reconfigure,
|
||||
//c.switchTable.reconfigure,
|
||||
c.tcp.reconfigure,
|
||||
c.multicast.reconfigure,
|
||||
c.peers.reconfigure,
|
||||
c.router.reconfigure,
|
||||
c.switchTable.reconfigure,
|
||||
}
|
||||
|
||||
for _, component := range components {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue