Commit c15f836c authored by Oswaldo Ferreira's avatar Oswaldo Ferreira

Remove unnecessary EachBatch

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