feat(node): add Info structure to save every nodes system information

feat(processor): add /info <uuid> command to show basic system info for specific node
This commit is contained in:
NanamiAdmin committed 2026-08-07 22:31:02 +08:00
1 parent 56ed32ac0c
commit ebbbe7ba1d
5 files changed
+151 -27

No files matched your search

+1 -5
View File
@@ -261,11 +261,7 @@ func startBackgroundTasks(_ *config.Config) {
}
tracker := node.GetTracker()
if tracker != nil {
nodeNames := make(map[string]string, len(nodes))
for _, n := range nodes {
nodeNames[n.UUID] = n.Name
}
tracker.UpdateNodeList(nodeNames)
tracker.UpdateNodeList(komari.BuildNodeListData(nodes))
}
}
}()