mirror of
https://github.com/gravitl/netmaker.git
synced 2025-09-06 13:14:24 +08:00
make idp and event hooks aysnc
This commit is contained in:
parent
7b483f8c73
commit
b8320ae1a3
2 changed files with 2 additions and 3 deletions
|
@ -1636,7 +1636,6 @@ func GetAclRulesForNode(targetnodeI *models.Node) (rules map[string]models.AclRu
|
|||
} else {
|
||||
taggedNodes = GetTagMapWithNodesByNetwork(models.NetworkID(targetnode.Network), true)
|
||||
}
|
||||
fmt.Printf("TAGGED NODES: %+v\n", taggedNodes)
|
||||
acls := listDevicePolicies(models.NetworkID(targetnode.Network))
|
||||
var targetNodeTags = make(map[models.TagID]struct{})
|
||||
if targetnode.Mutex != nil {
|
||||
|
|
|
@ -93,9 +93,9 @@ func InitPro() {
|
|||
}
|
||||
proLogic.LoadNodeMetricsToCache()
|
||||
proLogic.InitFailOverCache()
|
||||
auth.StartSyncHook()
|
||||
go auth.StartSyncHook()
|
||||
email.Init()
|
||||
proLogic.EventWatcher()
|
||||
go proLogic.EventWatcher()
|
||||
})
|
||||
logic.ResetFailOver = proLogic.ResetFailOver
|
||||
logic.ResetFailedOverPeer = proLogic.ResetFailedOverPeer
|
||||
|
|
Loading…
Add table
Reference in a new issue