namespace MediaBrowser.Controller.Session;
///
/// Configuration options for the session directory and the cross-instance bus that goes with it.
///
public sealed class SessionDirectoryOptions
{
///
/// The configuration section these options bind from.
///
public const string ConfigurationSection = "Jellyfin:SessionDirectory";
///
/// Gets or sets how long in seconds a published entry survives without being refreshed. An instance
/// that dies stops refreshing, so its sessions leave the directory after this long.
///
public int EntryTtlSeconds { get; set; } = 60;
///
/// Gets or sets how often in seconds an instance republishes the sessions it holds.
///
public int RefreshIntervalSeconds { get; set; } = 20;
///
/// Gets or sets how long in seconds a single directory operation may take before it is abandoned.
///
public int OperationTimeoutSeconds { get; set; } = 5;
}