Fix(mutliple servers): attempting to cache the Plex Content in server (#5018)

snyk-upgrade-7084816850957383f6ca30e9b0adf97d
Antonin 1 year ago committed by GitHub
parent 11edac961b
commit bdb0f8e58c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -278,6 +278,10 @@ namespace Ombi.Schedule.Jobs.Plex
await Repo.AddRange(contentToAdd);
foreach (var c in contentToAdd)
{
if (contentProcessed.ContainsKey(c.Id)) {
continue;
}
contentProcessed.Add(c.Id, c.Key);
}
}

Loading…
Cancel
Save