Commit 95047f1d authored by Valery Sizov's avatar Valery Sizov

Make diff discussion more reliable

parent c2173a14
...@@ -861,9 +861,11 @@ class MergeRequest < ActiveRecord::Base ...@@ -861,9 +861,11 @@ class MergeRequest < ActiveRecord::Base
paths: paths paths: paths
) )
active_diff_notes.each do |note| transaction do
service.execute(note) active_diff_notes.each do |note|
Gitlab::Timeless.timeless(note, &:save) service.execute(note)
Gitlab::Timeless.timeless(note, &:save)
end
end end
end end
......
---
title: Make MR-review-discussions more reliable
merge_request:
author:
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment