Class WatchdogOptions

Assembly: redb.Tsak.Core.dll

Configuration for the Route Watchdog background service.
Binds to the Tsak:Watchdog section in appsettings.json.

public class WatchdogOptions

Inheritance

Object→WatchdogOptions

Properties

AutoRestartHungRoutes

Whether to auto-restart routes with hung exchanges. Default: false.

public bool AutoRestartHungRoutes { get; set; }

AutoRestartTimeoutSeconds

Timeout in seconds for auto-restart operations. Default: 60.

public int AutoRestartTimeoutSeconds { get; set; }

CheckIntervalSeconds

Check interval in seconds. Default: 15.

public int CheckIntervalSeconds { get; set; }

Enabled

Whether the watchdog is enabled. Default: true.

public bool Enabled { get; set; }

HungThresholdMinutes

Threshold in minutes for a "hung" exchange. Default: 30.

public double HungThresholdMinutes { get; set; }

SuspectedThresholdMinutes

Threshold in minutes for a "suspected" exchange. Default: 5.

public double SuspectedThresholdMinutes { get; set; }