diff options
| author | herby2212 <12448284+herby2212@users.noreply.github.com> | 2023-05-01 20:11:22 +0200 |
|---|---|---|
| committer | herby2212 <12448284+herby2212@users.noreply.github.com> | 2023-05-01 20:11:22 +0200 |
| commit | e1190d15d6ca0b7cad2b4991e524b35ecca35949 (patch) | |
| tree | 76a12a394da2d387216a8bc1cdd71440b83fdc21 /MediaBrowser.Model/Configuration/ServerConfiguration.cs | |
| parent | 8bb44b85d7008ee167f2260934a1f325abb06e2d (diff) | |
option to disable and configure inactive session threshold
Diffstat (limited to 'MediaBrowser.Model/Configuration/ServerConfiguration.cs')
| -rw-r--r-- | MediaBrowser.Model/Configuration/ServerConfiguration.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/MediaBrowser.Model/Configuration/ServerConfiguration.cs b/MediaBrowser.Model/Configuration/ServerConfiguration.cs index 07f02d187..f619f384c 100644 --- a/MediaBrowser.Model/Configuration/ServerConfiguration.cs +++ b/MediaBrowser.Model/Configuration/ServerConfiguration.cs @@ -158,6 +158,12 @@ 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. + /// </summary> + /// <value>The close inactive session threshold in minutes.</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. |
