mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-19 12:59:39 -07:00
Fix(mutliple servers): attempting to cache the Plex Content in server (#5018)
This commit is contained in:
parent
11edac961b
commit
bdb0f8e58c
1 changed files with 4 additions and 0 deletions
|
@ -278,6 +278,10 @@ namespace Ombi.Schedule.Jobs.Plex
|
||||||
await Repo.AddRange(contentToAdd);
|
await Repo.AddRange(contentToAdd);
|
||||||
foreach (var c in contentToAdd)
|
foreach (var c in contentToAdd)
|
||||||
{
|
{
|
||||||
|
if (contentProcessed.ContainsKey(c.Id)) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
contentProcessed.Add(c.Id, c.Key);
|
contentProcessed.Add(c.Id, c.Key);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue