Class SessionCleanupConfig
Automatic stale session cleanup settings, nested under Gateway:SessionCleanup.
public sealed class SessionCleanupConfig
- Inheritance
-
SessionCleanupConfig
- Inherited Members
Properties
Enabled
Whether to automatically close inactive sessions. Default: true.
public bool Enabled { get; set; }
Property Value
Interval
How often the cleanup scan runs.
Supports Go-style duration strings: "15m", "30m", "1h".
Default: "30m".
public string Interval { get; set; }
Property Value
MaxInactiveAge
Sessions with no interaction (UpdatedAt) older than this are closed.
Supports Go-style duration strings: "24h", "1d", "30m".
Default: "24h".
public string MaxInactiveAge { get; set; }