mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 13:57:14 -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…
Reference in New Issue
Block a user