1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-27 23:06:29 -04:00

New: Speed up mass deletes from Series Editor

* New: Speed up mass deletes from Series Editor

* fixup! Additional speed up using GetAllSeriesPaths vs GetAllSeries

* fixup! Tests
This commit is contained in:
Qstick
2022-12-10 14:19:10 -06:00
committed by GitHub
parent d08f33ae21
commit 356771d139
29 changed files with 290 additions and 86 deletions
@@ -451,7 +451,7 @@ namespace NzbDrone.Core.Download.Pending
public void Handle(SeriesDeletedEvent message)
{
_repository.DeleteBySeriesId(message.Series.Id);
_repository.DeleteBySeriesIds(message.Series.Select(m => m.Id).ToList());
}
public void Handle(EpisodeGrabbedEvent message)