Class WatchdogOptions
- Namespace
- SharpConsoleUI.Configuration
- Assembly
- SharpConsoleUI.dll
Configuration for the main-loop watchdog (liveness monitoring, unresponsive notification, recovery).
public record WatchdogOptions : IEquatable<WatchdogOptions>
- Inheritance
-
WatchdogOptions
- Implements
- Inherited Members
- Extension Methods
Constructors
WatchdogOptions(bool, int, int, int, bool, bool)
Configuration for the main-loop watchdog (liveness monitoring, unresponsive notification, recovery).
public WatchdogOptions(bool Enabled = true, int StaleThresholdMs = 2000, int UnresponsiveThresholdMs = 5000, int PollIntervalMs = 500, bool ShowUnresponsiveBanner = true, bool FullRefreshOnRecovery = true)
Parameters
EnabledboolStaleThresholdMsintUnresponsiveThresholdMsintPollIntervalMsintShowUnresponsiveBannerboolFullRefreshOnRecoverybool
Properties
Enabled
public bool Enabled { get; init; }
Property Value
FullRefreshOnRecovery
public bool FullRefreshOnRecovery { get; init; }
Property Value
PollIntervalMs
public int PollIntervalMs { get; init; }
Property Value
ShowUnresponsiveBanner
public bool ShowUnresponsiveBanner { get; init; }
Property Value
StaleThresholdMs
public int StaleThresholdMs { get; init; }
Property Value
UnresponsiveThresholdMs
public int UnresponsiveThresholdMs { get; init; }