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
paths: paths
)
active_diff_notes.each do |note|
service.execute(note)
Gitlab::Timeless.timeless(note, &:save)
transaction do
active_diff_notes.each do |note|
service.execute(note)
Gitlab::Timeless.timeless(note, &:save)
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