Skip to content

Commit

Permalink
Merge pull request #26 from rbottema/job_duplicate_processing
Browse files Browse the repository at this point in the history
Don't process content items multiple times in the scheduled job
  • Loading branch information
ErvinsA authored Jan 14, 2025
2 parents 7d80d25 + 6fca686 commit 72dcdc0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Geta.Optimizely.Tags/TagsScheduledJob.cs
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ private static IEnumerable<Guid> GetTaggedContentGuids(IEnumerable<Tag> tags)
{
return tags.Where(x => x?.PermanentLinks != null)
.SelectMany(x => x.PermanentLinks)
.Distinct()
.ToList();
}

Expand Down

0 comments on commit 72dcdc0

Please sign in to comment.