aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Configuration/ServerConfiguration.cs
diff options
context:
space:
mode:
authorherby2212 <12448284+herby2212@users.noreply.github.com>2023-10-07 21:18:21 +0200
committerherby2212 <12448284+herby2212@users.noreply.github.com>2023-10-07 21:18:21 +0200
commitdb5c2f738efa4b4ef316ca005616e561329e735f (patch)
tree96aaca3b6691ed3697c9d94ad9dae0026b884ad4 /MediaBrowser.Model/Configuration/ServerConfiguration.cs
parent1141883f7734126aefc1d33172261a278c3ada84 (diff)
parent56aa37a314df17ba7608d7d9d00925f9e4816a89 (diff)
integrate development from v1
Diffstat (limited to 'MediaBrowser.Model/Configuration/ServerConfiguration.cs')
-rw-r--r--MediaBrowser.Model/Configuration/ServerConfiguration.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/MediaBrowser.Model/Configuration/ServerConfiguration.cs b/MediaBrowser.Model/Configuration/ServerConfiguration.cs
index 78a310f0b..dbeef9ab2 100644
--- a/MediaBrowser.Model/Configuration/ServerConfiguration.cs
+++ b/MediaBrowser.Model/Configuration/ServerConfiguration.cs
@@ -158,6 +158,13 @@ namespace MediaBrowser.Model.Configuration
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
/// different directories and files.