mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 18:57:39 -07:00
disable model events for log repository
This commit is contained in:
parent
99f269cd95
commit
6936f042f5
3 changed files with 18 additions and 8 deletions
|
@ -23,5 +23,10 @@ namespace NzbDrone.Core.Instrumentation
|
|||
var oldIds = Query.Where(c => c.Time < DateTime.Now.AddDays(-30).Date).Select(c => c.Id);
|
||||
DeleteMany(oldIds);
|
||||
}
|
||||
|
||||
protected override void PublishModelEvent(Log model, Datastore.Events.RepositoryAction action)
|
||||
{
|
||||
//Don't publish log added events.
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue