feat(watcher): add configurable IdleTimeoutMs setting (default 5 min)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-27 00:12:29 -05:00
parent f4d983a02b
commit c71795c13f
2 changed files with 3 additions and 1 deletions

View File

@@ -7,4 +7,5 @@ public class WindowWatcherOptions
public string ApiBaseUrl { get; set; } = "http://localhost:5200"; public string ApiBaseUrl { get; set; } = "http://localhost:5200";
public int PollIntervalMs { get; set; } = 2000; public int PollIntervalMs { get; set; } = 2000;
public int DebounceMs { get; set; } = 3000; public int DebounceMs { get; set; } = 3000;
public int IdleTimeoutMs { get; set; } = 300_000;
} }

View File

@@ -8,6 +8,7 @@
"WindowWatcher": { "WindowWatcher": {
"ApiBaseUrl": "http://localhost:5200", "ApiBaseUrl": "http://localhost:5200",
"PollIntervalMs": 2000, "PollIntervalMs": 2000,
"DebounceMs": 3000 "DebounceMs": 3000,
"IdleTimeoutMs": 300000
} }
} }