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:
Diffstat (limited to 'app/workers/projects/import_export/create_relation_exports_worker.rb')
-rw-r--r--app/workers/projects/import_export/create_relation_exports_worker.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/workers/projects/import_export/create_relation_exports_worker.rb b/app/workers/projects/import_export/create_relation_exports_worker.rb
index 9ca69a5500a..e115c8917b1 100644
--- a/app/workers/projects/import_export/create_relation_exports_worker.rb
+++ b/app/workers/projects/import_export/create_relation_exports_worker.rb
@@ -18,7 +18,7 @@ module Projects
INITIAL_DELAY = 10.seconds
# rubocop: disable CodeReuse/ActiveRecord
- def perform(user_id, project_id, after_export_strategy = {})
+ def perform(user_id, project_id, after_export_strategy = {}, params = {})
project = Project.find_by_id(project_id)
return unless project
@@ -30,7 +30,7 @@ module Projects
end
relation_exports.each do |relation_export|
- RelationExportWorker.with_status.perform_async(relation_export.id)
+ RelationExportWorker.with_status.perform_async(relation_export.id, user_id, params)
end
WaitRelationExportsWorker.perform_in(