Add status profiles

This commit is contained in:
Zoltán Papp
2026-06-25 13:57:14 +02:00
parent fa91c119c3
commit 94284d5400
3 changed files with 170 additions and 0 deletions
+1
View File
@@ -136,6 +136,7 @@ func New(ctx context.Context, logFile string, configFile string, profilesDisable
networksDisabled: networksDisabled,
jwtCache: newJWTCache(),
}
go s.statusRecorder.StartProfile(ctx)
agent := &serverAgent{s}
s.sleepHandler = sleephandler.New(agent)
s.startSleepDetector()