Remove unnecessary EachBatch

This commit is contained in:
Oswaldo Ferreira 2018-07-06 12:40:43 -03:00
parent db0f150516
commit c15f836c3a
1 changed files with 0 additions and 4 deletions

View File

@ -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