namespace MediaBrowser.Controller.MediaEncoding; /// /// Configuration options for the transcode session store. /// public sealed class TranscodeStoreOptions { /// /// Gets or sets the Redis connection string. /// A null or empty value indicates single-instance mode, where /// is used instead of a Redis-backed store. /// public string? RedisConnectionString { get; set; } /// /// Gets or sets the duration in seconds for which a transcoding session lease is valid. /// public int LeaseDurationSeconds { get; set; } = 30; /// /// Gets or sets how long in seconds a session record is retained after its lease was last renewed. /// The record must outlive the lease, otherwise an orphaned session is gone before another pod /// can take it over. /// public int SessionRetentionSeconds { get; set; } = 300; }