mirror of
https://github.com/juanfont/headscale.git
synced 2025-08-11 18:07:33 +00:00
metrics, tuning in tests, db cleanups, fix concurrency issue (#1895)
This commit is contained in:
@@ -28,7 +28,8 @@ var (
|
||||
)
|
||||
|
||||
type NodeID uint64
|
||||
type NodeConnectedMap map[NodeID]bool
|
||||
|
||||
// type NodeConnectedMap *xsync.MapOf[NodeID, bool]
|
||||
|
||||
func (id NodeID) StableID() tailcfg.StableNodeID {
|
||||
return tailcfg.StableNodeID(strconv.FormatUint(uint64(id), util.Base10))
|
||||
|
Reference in New Issue
Block a user