diff options
author | Oswaldo Ferreira <oswaldo@gitlab.com> | 2018-09-19 15:26:28 +0300 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2018-09-19 15:26:28 +0300 |
commit | 5dce096cf8b645d430bfdce8add8a577b595dc23 (patch) | |
tree | 69ac2bf5373bffd1e869d9b1c9f54e2c912cb767 /app/workers | |
parent | 3172de0df3801125c23d1811a53d1467dec45645 (diff) |
Use standalone diff stats RPC on every comparison view
Diffstat (limited to 'app/workers')
-rw-r--r-- | app/workers/new_merge_request_worker.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/new_merge_request_worker.rb b/app/workers/new_merge_request_worker.rb index 62f9d9b6f57..fa48c1b29a8 100644 --- a/app/workers/new_merge_request_worker.rb +++ b/app/workers/new_merge_request_worker.rb @@ -10,7 +10,7 @@ class NewMergeRequestWorker EventCreateService.new.open_mr(issuable, user) NotificationService.new.new_merge_request(issuable, user) - issuable.diffs.write_cache + issuable.diffs(include_stats: false).write_cache issuable.create_cross_references!(user) end |