Persist truncated note diffs on a new table
We request Gitaly in a N+1 manner to build discussion diffs. Once the diffs are from different revisions, it's hard to make a single request to the service in order to build the whole response.
With this change we solve this problem and simplify a lot fetching this piece of info.
Showing
app/models/concerns/diff_file.rb
0 → 100644
app/models/note_diff_file.rb
0 → 100644
app/workers/create_note_diff_file_worker.rb
0 → 100644
spec/models/note_diff_file_spec.rb
0 → 100644
Please
register
or
sign in
to comment