Class UpdateConfig
Configuration for the automatic update system. Mapped from the "Updates" section in appsettings.json.
public sealed class UpdateConfig
- Inheritance
-
UpdateConfig
- Inherited Members
Properties
AutoApply
When true, updates are applied automatically after detection. Default: false.
public bool AutoApply { get; set; }
Property Value
CheckInterval
Interval between automatic update checks. Default: 24 hours.
public TimeSpan CheckInterval { get; set; }
Property Value
DrainTimeout
Maximum time to wait for agents to drain before forcing restart. Default: 30 seconds.
public TimeSpan DrainTimeout { get; set; }
Property Value
NotifyChannels
When true, connected channels are notified about available updates.
public bool NotifyChannels { get; set; }
Property Value
NuGetFeedUrl
NuGet feed URL. Default: official NuGet v3 API.
public string NuGetFeedUrl { get; set; }
Property Value
PackageId
NuGet package ID to check for updates. Default: "JD.AI.Daemon".
public string PackageId { get; set; }
Property Value
PreRelease
When true, pre-release NuGet versions are considered.
public bool PreRelease { get; set; }