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/gitlab/github_import/stage/import_collaborators_worker.rb')
-rw-r--r--app/workers/gitlab/github_import/stage/import_collaborators_worker.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/workers/gitlab/github_import/stage/import_collaborators_worker.rb b/app/workers/gitlab/github_import/stage/import_collaborators_worker.rb
index 751ca92388a..037b529b866 100644
--- a/app/workers/gitlab/github_import/stage/import_collaborators_worker.rb
+++ b/app/workers/gitlab/github_import/stage/import_collaborators_worker.rb
@@ -20,7 +20,6 @@ module Gitlab
info(project.id, message: 'starting importer', importer: 'Importer::CollaboratorsImporter')
waiter = Importer::CollaboratorsImporter.new(project, client).execute
- project.import_state.refresh_jid_expiration
move_to_next_stage(project, { waiter.key => waiter.jobs_remaining })
end
@@ -44,7 +43,7 @@ module Gitlab
def move_to_next_stage(project, waiters = {})
AdvanceStageWorker.perform_async(
- project.id, waiters, :pull_requests_merged_by
+ project.id, waiters.deep_stringify_keys, 'pull_requests_merged_by'
)
end
end