mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 05:23:31 -07:00
db stores logs for 7 days instead of 15.
This commit is contained in:
parent
87ac2b3b76
commit
b8bd2bffbf
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ namespace NzbDrone.Core.Instrumentation
|
||||||
|
|
||||||
public void Trim()
|
public void Trim()
|
||||||
{
|
{
|
||||||
var trimDate = DateTime.UtcNow.AddDays(-15).Date;
|
var trimDate = DateTime.UtcNow.AddDays(-7).Date;
|
||||||
Delete(c => c.Time <= trimDate);
|
Delete(c => c.Time <= trimDate);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue