mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-15 10:43:30 +01:00
Merge pull request #10357 from herby2212/kill-inactive-streams-v2
Add auto close of an inactive session after X minutes
This commit is contained in:
@@ -158,6 +158,13 @@ public class ServerConfiguration : BaseApplicationConfiguration
|
||||
/// <value>The remaining time in minutes.</value>
|
||||
public int MaxAudiobookResume { get; set; } = 5;
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the threshold in minutes after a inactive session gets closed automatically.
|
||||
/// If set to 0 the check for inactive sessions gets disabled.
|
||||
/// </summary>
|
||||
/// <value>The close inactive session threshold in minutes. 0 to disable.</value>
|
||||
public int InactiveSessionThreshold { get; set; } = 10;
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the delay in seconds that we will wait after a file system change to try and discover what has been added/removed
|
||||
/// Some delay is necessary with some items because their creation is not atomic. It involves the creation of several
|
||||
|
||||
Reference in New Issue
Block a user