mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
shorten cache deletion time
This commit is contained in:
parent
94447e35ab
commit
8ea6f76506
@ -50,7 +50,7 @@ namespace MediaBrowser.Common.Implementations.ScheduledTasks.Tasks
|
||||
{
|
||||
return Task.Run(() =>
|
||||
{
|
||||
var minDateModified = DateTime.UtcNow.AddDays(-45);
|
||||
var minDateModified = DateTime.UtcNow.AddDays(-30);
|
||||
|
||||
DeleteCacheFilesFromDirectory(cancellationToken, ApplicationPaths.CachePath, minDateModified, progress);
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user