Skip to content

Commit

Permalink
Fix(mutliple servers): attempting to cache the Plex Content in server (
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonin-Bruzard authored Nov 9, 2023
1 parent 11edac9 commit bdb0f8e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Ombi.Schedule/Jobs/Plex/PlexContentSync.cs
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,10 @@ private async Task<ProcessedContent> ProcessServer(PlexServers servers, bool rec
await Repo.AddRange(contentToAdd);
foreach (var c in contentToAdd)
{
if (contentProcessed.ContainsKey(c.Id)) {
continue;
}

contentProcessed.Add(c.Id, c.Key);
}
}
Expand Down

0 comments on commit bdb0f8e

Please sign in to comment.