mirror of
https://github.com/Cleanuparr/Cleanuparr.git
synced 2026-10-28 10:48:49 -04:00
fixed lidarr cf lookup ignoring cancellation
This commit is contained in:
1 parent
facf8280d3
commit
7c48b90157
1 file changed
+1
-1
@@ -646,7 +646,7 @@ public sealed class CustomFormatScoreSyncer : IHandler
|
||||
.Where(e => e.ArrInstanceId == arrInstance.Id
|
||||
&& e.ItemType == InstanceType.Lidarr
|
||||
&& artistIds.Contains(e.ExternalItemId))
|
||||
.ToDictionaryAsync(e => (e.ExternalItemId, e.EpisodeId));
|
||||
.ToDictionaryAsync(e => (e.ExternalItemId, e.EpisodeId), cancellationToken);
|
||||
|
||||
bool autoDetect = _eventsContext.ChangeTracker.AutoDetectChangesEnabled;
|
||||
_eventsContext.ChangeTracker.AutoDetectChangesEnabled = false;
|
||||
|
||||
Reference in new issue
Block a user