Table of Contents

Class UpdateConfig

Namespace
JD.AI.Daemon.Config
Assembly
JD.AI.Daemon.dll

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

bool

CheckInterval

Interval between automatic update checks. Default: 24 hours.

public TimeSpan CheckInterval { get; set; }

Property Value

TimeSpan

DrainTimeout

Maximum time to wait for agents to drain before forcing restart. Default: 30 seconds.

public TimeSpan DrainTimeout { get; set; }

Property Value

TimeSpan

NotifyChannels

When true, connected channels are notified about available updates.

public bool NotifyChannels { get; set; }

Property Value

bool

NuGetFeedUrl

NuGet feed URL. Default: official NuGet v3 API.

public string NuGetFeedUrl { get; set; }

Property Value

string

PackageId

NuGet package ID to check for updates. Default: "JD.AI.Daemon".

public string PackageId { get; set; }

Property Value

string

PreRelease

When true, pre-release NuGet versions are considered.

public bool PreRelease { get; set; }

Property Value

bool