diff options
| author | crobibero <cody@robibe.ro> | 2020-11-02 10:29:18 -0700 |
|---|---|---|
| committer | crobibero <cody@robibe.ro> | 2020-11-02 10:29:18 -0700 |
| commit | f8e6edbfeb8c437c2ed0a9c9b44bed0fc105b2c2 (patch) | |
| tree | 67747afc55cc2ad162e533a6ba4141b65a3e55b8 /MediaBrowser.Model/Configuration/ServerConfiguration.cs | |
| parent | 11d69fd3b1c25927c1046c4a095a3bd9f29fa722 (diff) | |
| parent | b1b43b8ad9e6ecc905e1ff4270d4844494ed3039 (diff) | |
Merge remote-tracking branch 'upstream/master' into query-fields
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 8b78ad842..23a5201f7 100644 --- a/MediaBrowser.Model/Configuration/ServerConfiguration.cs +++ b/MediaBrowser.Model/Configuration/ServerConfiguration.cs @@ -272,6 +272,11 @@ namespace MediaBrowser.Model.Configuration public string[] KnownProxies { get; set; } /// <summary> + /// Gets or sets the number of days we should retain activity logs. + /// </summary> + public int? ActivityLogRetentionDays { get; set; } + + /// <summary> /// Initializes a new instance of the <see cref="ServerConfiguration" /> class. /// </summary> public ServerConfiguration() @@ -381,6 +386,7 @@ namespace MediaBrowser.Model.Configuration SlowResponseThresholdMs = 500; CorsHosts = new[] { "*" }; KnownProxies = Array.Empty<string>(); + ActivityLogRetentionDays = 30; } } |
