shorten cache deletion time

pull/702/head
Luke Pulverenti 11 years ago
parent 94447e35ab
commit 8ea6f76506

@ -50,7 +50,7 @@ namespace MediaBrowser.Common.Implementations.ScheduledTasks.Tasks
{ {
return Task.Run(() => return Task.Run(() =>
{ {
var minDateModified = DateTime.UtcNow.AddDays(-45); var minDateModified = DateTime.UtcNow.AddDays(-30);
DeleteCacheFilesFromDirectory(cancellationToken, ApplicationPaths.CachePath, minDateModified, progress); DeleteCacheFilesFromDirectory(cancellationToken, ApplicationPaths.CachePath, minDateModified, progress);
}); });

Loading…
Cancel
Save