diff --git a/assistant/src/daemon/server.ts b/assistant/src/daemon/server.ts index c6bc5fd1ecb..c27e64cd011 100644 --- a/assistant/src/daemon/server.ts +++ b/assistant/src/daemon/server.ts @@ -373,6 +373,8 @@ export class DaemonServer { this.suppressConfigReload = false; throw err; } + const existingSuppressTimer = this.debounceTimers.get('__suppress_reset__'); + if (existingSuppressTimer) clearTimeout(existingSuppressTimer); const resetTimer = setTimeout(() => { this.suppressConfigReload = false; }, 300); this.debounceTimers.set('__suppress_reset__', resetTimer);