mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #6495] [MERGED] Allow zero activity log retention days #10988
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/6495
Author: @qsniyg
Created: 9/2/2021
Status: ✅ Merged
Merged: 9/2/2021
Merged by: @Bond-009
Base:
master← Head:zero-activity-days📝 Commits (1)
2cf08dcAllow zero activity log retention days📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
Emby.Server.Implementations/ScheduledTasks/Tasks/CleanActivityLogTask.cs(+1 -1)📄 Description
Changes
The error message states that "Activity Log Retention days must be at least 0", but it fails with a value of zero, despite the message. This PR allows a value of 0.
A value of 0 is useful because it allows clearing the entire activity log through the "Clean Activity Log" task.
Issues
This is somewhat related to https://features.jellyfin.org/posts/1161/disable-or-anonymize-activity-logs
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.