Path: redb-tsak/src/redb.Tsak.Core/Monitoring/WatchdogOptions.cs Snapshot: redb-tsak, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages. License: Apache-2.0. Repository: https://github.com/redbase-app/redb-tsak Page: https://redbase.app/src/dev-2026-12-06/redb-tsak/src/redb.Tsak.Core/Monitoring/WatchdogOptions.cs ---- namespace redb.Tsak.Core.Monitoring; /// /// Configuration for the Route Watchdog background service. /// Binds to the Tsak:Watchdog section in appsettings.json. /// public class WatchdogOptions { /// Check interval in seconds. Default: 15. public int CheckIntervalSeconds { get; set; } = 15; /// /// Threshold in minutes for a "suspected" exchange. Default: 5. /// Exchanges older than this emit a WARNING. Supports fractional values (e.g. 0.5 = 30s). /// public double SuspectedThresholdMinutes { get; set; } = 5; /// /// Threshold in minutes for a "hung" exchange. Default: 30. /// Exchanges older than this emit an ERROR and trigger alerts. Supports fractional values. /// public double HungThresholdMinutes { get; set; } = 30; /// /// Whether to auto-restart routes with hung exchanges. Default: false. /// public bool AutoRestartHungRoutes { get; set; } /// /// Timeout in seconds for auto-restart operations. Default: 60. /// public int AutoRestartTimeoutSeconds { get; set; } = 60; /// /// Whether the watchdog is enabled. Default: true. /// Can be toggled at runtime via the API. /// public bool Enabled { get; set; } = true; }