mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-20 20:50:36 +02: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 a new issue