Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2019-08-28 14:14:23 +0300
committerRémy Coutable <remy@rymai.me>2019-08-28 14:14:23 +0300
commite8bcabb4a735ecb84b5bc65269fffc21a72b6da6 (patch)
tree3048d28f54da0a90b096401c4e81d578972960a4 /app/models
parenta3b462e92a94f8647e00d3a8abe490b77f3b45ed (diff)
parent2022e6799bcbf119ea80145e4993ffdb7bb108e3 (diff)
Merge branch 'sh-lfs-object-batches' into 'master'
Makes LFS object link process OIDs in batches Closes #66274 See merge request gitlab-org/gitlab-ce!32268
Diffstat (limited to 'app/models')
-rw-r--r--app/models/lfs_object.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/lfs_object.rb b/app/models/lfs_object.rb
index 79a376ff0fd..40695a97d97 100644
--- a/app/models/lfs_object.rb
+++ b/app/models/lfs_object.rb
@@ -2,6 +2,7 @@
class LfsObject < ApplicationRecord
include AfterCommitQueue
+ include EachBatch
include ObjectStorage::BackgroundMove
has_many :lfs_objects_projects, dependent: :destroy # rubocop:disable Cop/ActiveRecordDependent