Class HotReloadOptions

Assembly: redb.Tsak.Core.dll

Configuration for hot reload. Bound to Tsak:HotReload.

public class HotReloadOptions

Inheritance

Object→HotReloadOptions

Properties

AdditionStabilityScans

Number of consecutive scans a newly-seen (or changed) .tpkg must keep the same size and

public int AdditionStabilityScans { get; set; }

Collectible

Use collectible AssemblyLoadContext for module isolation. Default: false.

public bool Collectible { get; set; }

Enabled

Enable hot reload. Default: true.

public bool Enabled { get; set; }

KeepVersions

Number of previous versions to keep for rollback. Default: 2.

public int KeepVersions { get; set; }

MaxOrphanedContexts

How many module contexts may stay in memory after Tsak let them go before the hotreload health check turns

public int? MaxOrphanedContexts { get; set; }

MaxWorkingSetMb

A working set (MB) above which GET /api/health/deploy advises a cold deploy instead of a hot swap. Default

public double? MaxWorkingSetMb { get; set; }

RemovalDebounceScans

Number of scan cycles to wait before confirming a module removal (DLL deleted from disk).

public int RemovalDebounceScans { get; set; }

RestartContextsOnSharedChange

When true, all contexts are restarted (in dependency order) when a shared

public bool RestartContextsOnSharedChange { get; set; }

RollingUpdate

RESERVED — sequential cluster rolling updates are NOT implemented yet: no code reads this

public bool RollingUpdate { get; set; }

ScanIntervalSeconds

Filesystem scan interval in seconds. Default: 30.

public int ScanIntervalSeconds { get; set; }

SharedPath

Path to the shared assembly directory. Default: "Libs/shared".

public string SharedPath { get; set; }

StartupTimeoutSeconds

RESERVED — not enforced: no code reads this value. A module start is not time-boxed, because the

public int StartupTimeoutSeconds { get; set; }