Automatically remove nodes from the mesh after a

certain threshold.
This commit is contained in:
Tim Beatham
2023-10-20 17:35:02 +01:00
parent c200544cee
commit 976dbf2613
12 changed files with 191 additions and 34 deletions

View File

@ -30,7 +30,7 @@ type NewCtrlServerParams struct {
func NewCtrlServer(params *NewCtrlServerParams) (*MeshCtrlServer, error) {
ctrlServer := new(MeshCtrlServer)
ctrlServer.Client = params.WgClient
ctrlServer.MeshManager = manager.NewMeshManager(*params.WgClient)
ctrlServer.MeshManager = manager.NewMeshManager(*params.WgClient, *params.Conf)
ctrlServer.Conf = params.Conf
connManagerParams := conn.NewJwtConnectionManagerParams{