Table of Contents

Class SessionCleanupConfig

Namespace
JD.AI.Gateway.Config
Assembly
JD.AI.Gateway.dll

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

bool

Interval

How often the cleanup scan runs. Supports Go-style duration strings: "15m", "30m", "1h". Default: "30m".

public string Interval { get; set; }

Property Value

string

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; }

Property Value

string