mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-28 04:51:45 +02:00
disable model events for log repository
This commit is contained in:
@@ -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.
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user