Skip to content

Commit 72dcdc0

Browse files
authored
Merge pull request #26 from rbottema/job_duplicate_processing
Don't process content items multiple times in the scheduled job
2 parents 7d80d25 + 6fca686 commit 72dcdc0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Geta.Optimizely.Tags/TagsScheduledJob.cs

+1
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ private static IEnumerable<Guid> GetTaggedContentGuids(IEnumerable<Tag> tags)
123123
{
124124
return tags.Where(x => x?.PermanentLinks != null)
125125
.SelectMany(x => x.PermanentLinks)
126+
.Distinct()
126127
.ToList();
127128
}
128129

0 commit comments

Comments
 (0)