db stores logs for 7 days instead of 15.

pull/2/head
kay.one 11 years ago
parent 87ac2b3b76
commit b8bd2bffbf

@ -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);
}
}

Loading…
Cancel
Save