diff --git a/WindowWatcher/WindowWatcherOptions.cs b/WindowWatcher/WindowWatcherOptions.cs index a0fa8e3..4ed59f5 100644 --- a/WindowWatcher/WindowWatcherOptions.cs +++ b/WindowWatcher/WindowWatcherOptions.cs @@ -7,4 +7,5 @@ public class WindowWatcherOptions public string ApiBaseUrl { get; set; } = "http://localhost:5200"; public int PollIntervalMs { get; set; } = 2000; public int DebounceMs { get; set; } = 3000; + public int IdleTimeoutMs { get; set; } = 300_000; } diff --git a/WindowWatcher/appsettings.json b/WindowWatcher/appsettings.json index caa3a46..e8bfbca 100644 --- a/WindowWatcher/appsettings.json +++ b/WindowWatcher/appsettings.json @@ -8,6 +8,7 @@ "WindowWatcher": { "ApiBaseUrl": "http://localhost:5200", "PollIntervalMs": 2000, - "DebounceMs": 3000 + "DebounceMs": 3000, + "IdleTimeoutMs": 300000 } }