mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-24 17:46:51 +01:00
Merge branch 'master' into NetworkPR2
This commit is contained in:
@@ -16,5 +16,12 @@ namespace MediaBrowser.Model.Activity
|
||||
Task CreateAsync(ActivityLog entry);
|
||||
|
||||
Task<QueryResult<ActivityLogEntry>> GetPagedResultAsync(ActivityLogQuery query);
|
||||
|
||||
/// <summary>
|
||||
/// Remove all activity logs before the specified date.
|
||||
/// </summary>
|
||||
/// <param name="startDate">Activity log start date.</param>
|
||||
/// <returns>A <see cref="Task"/> representing the asynchronous operation.</returns>
|
||||
Task CleanAsync(DateTime startDate);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -426,5 +426,10 @@ namespace MediaBrowser.Model.Configuration
|
||||
/// Gets or sets the known proxies.
|
||||
/// </summary>
|
||||
public string[] KnownProxies { get; set; } = Array.Empty<string>();
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the number of days we should retain activity logs.
|
||||
/// </summary>
|
||||
public int? ActivityLogRetentionDays { get; set; } = 30;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user