Skip to content
代码片段 群组 项目
提交 b6fe9a15 编辑于 作者: George Koltsov's avatar George Koltsov
浏览文件

Merge branch '421138_include_each_batch_to_export_relations' into 'master'

Adding eachBatch so project exporter can iterate through records

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/133486



Merged-by: default avatarGeorge Koltsov <gkoltsov@gitlab.com>
Approved-by: default avatarGeorge Koltsov <gkoltsov@gitlab.com>
Co-authored-by: default avatarMax Fan <mfan@gitlab.com>
No related branches found
No related tags found
无相关合并请求
# frozen_string_literal: true # frozen_string_literal: true
class GroupBadge < Badge class GroupBadge < Badge
include EachBatch
belongs_to :group belongs_to :group
validates :group, presence: true validates :group, presence: true
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
class Upload < ApplicationRecord class Upload < ApplicationRecord
include Checksummable include Checksummable
include EachBatch
# Upper limit for foreground checksum processing # Upper limit for foreground checksum processing
CHECKSUM_THRESHOLD = 100.megabytes CHECKSUM_THRESHOLD = 100.megabytes
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册