Reset crash restart attempts on a manual start

A stop is always followed by a start, so the start is the one place that
needs it. The crash restart calls _startSave directly to keep its count.
Rename _runningSinceMs to _startedAtMs to match InstanceDetails.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
bbassieandClaude Opus 5.5 committed 2026-11-21 16:29:03 +00:00
1 parent 565e931a96
commit 079340e5dd
5 files changed
+19 -16

No files matched your search

+1 -1
View File
@@ -560,7 +560,7 @@ Defaults to false.
### instance.crash_retry_attempts
Number of times the host restarts this instance after a crash before giving up and logging an error.
The count resets when the instance is stopped or restarted by a user, or the host is restarted.
The count resets when a user starts or restarts the instance, or the host is restarted.
Set to 0 for no limit.
Defaults to 3.