Commit c15f836c authored by Oswaldo Ferreira's avatar Oswaldo Ferreira

Remove unnecessary EachBatch

parent db0f1505
......@@ -9,14 +9,10 @@ module Gitlab
belongs_to :merge_request
has_many :merge_request_diff_files
include EachBatch
end
class MergeRequestDiffFile < ActiveRecord::Base
self.table_name = 'merge_request_diff_files'
include EachBatch
end
DIFF_ROWS_LIMIT = 5_000
......
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