feat: 添加服务层增强与零散改进

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
unraid
2026-04-22 22:38:10 +08:00
parent 2247026bd5
commit c7e1c50b86
23 changed files with 861 additions and 100 deletions

View File

@@ -1444,6 +1444,7 @@ export const connectToServer = memoize(
}
// Wait for graceful shutdown with rapid escalation (total 500ms to keep CLI responsive)
// biome-ignore lint/suspicious/noAsyncPromiseExecutor: async needed for sequential await inside executor
await new Promise<void>(async resolve => {
let resolved = false