From b8bd2bffbf133f10e54b2de200f317be0a9af55a Mon Sep 17 00:00:00 2001 From: "kay.one" Date: Thu, 29 Aug 2013 22:20:41 -0700 Subject: [PATCH] db stores logs for 7 days instead of 15. --- NzbDrone.Core/Instrumentation/LogRepository.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NzbDrone.Core/Instrumentation/LogRepository.cs b/NzbDrone.Core/Instrumentation/LogRepository.cs index 5fe755580..0a00aa27b 100644 --- a/NzbDrone.Core/Instrumentation/LogRepository.cs +++ b/NzbDrone.Core/Instrumentation/LogRepository.cs @@ -18,7 +18,7 @@ namespace NzbDrone.Core.Instrumentation public void Trim() { - var trimDate = DateTime.UtcNow.AddDays(-15).Date; + var trimDate = DateTime.UtcNow.AddDays(-7).Date; Delete(c => c.Time <= trimDate); } }