diff --git a/src/Share/BackgroundJobs/Diffs/Queries.hs b/src/Share/BackgroundJobs/Diffs/Queries.hs index 3a4b6e7b..7f209c6e 100644 --- a/src/Share/BackgroundJobs/Diffs/Queries.hs +++ b/src/Share/BackgroundJobs/Diffs/Queries.hs @@ -18,6 +18,7 @@ submitContributionsToBeDiffed contributions = do ) INSERT INTO contribution_diff_queue (contribution_id) SELECT nc.contribution_id FROM new_contributions nc + ON CONFLICT DO NOTHING |] Notif.notifyChannel Notif.ContributionDiffChannel