mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-20 13:23:20 -07:00
bugfix (mutliple servers): attempting to cache the Plex Content in server
This commit is contained in:
parent
9c2e1b4353
commit
4c1bf2d055
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