diff options
Diffstat (limited to 'app/workers/gitlab/github_import/stage/import_attachments_worker.rb')
-rw-r--r-- | app/workers/gitlab/github_import/stage/import_attachments_worker.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/app/workers/gitlab/github_import/stage/import_attachments_worker.rb b/app/workers/gitlab/github_import/stage/import_attachments_worker.rb index f9952f04e99..a5d085a82c0 100644 --- a/app/workers/gitlab/github_import/stage/import_attachments_worker.rb +++ b/app/workers/gitlab/github_import/stage/import_attachments_worker.rb @@ -11,6 +11,8 @@ module Gitlab include GithubImport::Queue include StageMethods + resumes_work_when_interrupted! + # client - An instance of Gitlab::GithubImport::Client. # project - An instance of Project. def import(client, project) @@ -48,8 +50,8 @@ module Gitlab def move_to_next_stage(project, waiters = {}) AdvanceStageWorker.perform_async( project.id, - waiters, - :protected_branches + waiters.deep_stringify_keys, + 'protected_branches' ) end end |