mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-22 08:13:12 +09:00
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:
1 parent
565e931a96
commit
079340e5dd
5 files changed
+19
-16
No files matched your search
@@ -641,7 +641,7 @@ export class InstanceConfig extends classes.Config<InstanceConfigFields> {
|
||||
initialValue: false,
|
||||
},
|
||||
"instance.crash_retry_attempts": {
|
||||
description: "Restarts after a crash before giving up, 0 for no limit. Reset when the instance is stopped",
|
||||
description: "Restarts after a crash before giving up, 0 for no limit. Reset when the instance is started",
|
||||
type: "number",
|
||||
initialValue: 3,
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user