mirror of
https://github.com/juanfont/headscale.git
synced 2025-08-25 03:37:34 +00:00
optimize generateACLPeerCacheMap (#1377)
This commit is contained in:
2
app.go
2
app.go
@@ -87,7 +87,7 @@ type Headscale struct {
|
||||
aclPolicy *ACLPolicy
|
||||
aclRules []tailcfg.FilterRule
|
||||
aclPeerCacheMapRW sync.RWMutex
|
||||
aclPeerCacheMap map[string]map[string]struct{}
|
||||
aclPeerCacheMap map[string][]string
|
||||
sshPolicy *tailcfg.SSHPolicy
|
||||
|
||||
lastStateChange *xsync.MapOf[string, time.Time]
|
||||
|
Reference in New Issue
Block a user