fix(api): wake 与回档/备份/改文件按服务器互斥

This commit is contained in:
Lemon-miaow committed 2026-09-24 14:39:02 +08:00
1 parent 7819e5de50
commit abfe60d62d
27 files changed
+1300 -36

No files matched your search

+5
View File
@@ -705,6 +705,11 @@ export function humanizeError(e: unknown): string {
return t("no_backup");
case "not_stopped":
return t("not_stopped");
// World-volume lock: a restore, backup or file write is running on this
// server's world, so a wake or a second world operation is refused until the
// Job finishes (internal/maintenance).
case "maintenance_in_progress":
return t("maintenance_in_progress");
case "no_world_volume":
return t("no_world_volume");
case "restore_unavailable":