mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-18 21:34:28 -04:00
638e3ca898
New: Adding multiple series will queue them instead of running all at once New: Slower scheduled tasks won't be block others from running
20 lines
396 B
C#
20 lines
396 B
C#
using NzbDrone.Core.Instrumentation;
|
|
|
|
namespace NzbDrone.Core.Housekeeping.Housekeepers
|
|
{
|
|
public class TrimLogDatabase : IHousekeepingTask
|
|
{
|
|
private readonly ILogRepository _logRepo;
|
|
|
|
public TrimLogDatabase(ILogRepository logRepo)
|
|
{
|
|
_logRepo = logRepo;
|
|
}
|
|
|
|
public void Clean()
|
|
{
|
|
_logRepo.Trim();
|
|
}
|
|
}
|
|
}
|