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

This commit is contained in:
Antonin 2023-11-10 00:06:04 +01:00 committed by GitHub
commit bdb0f8e58c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);
}
}