add optional config preview with confirmation

This commit is contained in:
2025-08-01 00:08:38 +03:00
parent 3b8390a0c8
commit 08e96aa32a
5 changed files with 88 additions and 4 deletions

View File

@@ -141,7 +141,7 @@ func RunHook(ctx context.Context, cs *corestate.CoreState, x *app.AppX) error {
}
}()
session_manager.StartCleanup(5 * time.Minute)
session_manager.StartCleanup(5 * time.Second)
if *x.Config.Conf.Updates.UpdatesEnabled {
go func() {