diff options
author | Robert Speicher <robert@gitlab.com> | 2017-02-02 21:11:03 +0300 |
---|---|---|
committer | Robert Speicher <robert@gitlab.com> | 2017-02-02 21:11:03 +0300 |
commit | e3a5f1df29ca09797217d90af4ce0086a66fcd8d (patch) | |
tree | 1ea6c5758775e55cbd2fc2a79f5e5e806a860920 /lib | |
parent | 3997e6723c78e6c374764f5f24180ce8114592f5 (diff) | |
parent | 89a2438ab44862b34ba1030761c27b37059389ca (diff) |
Merge branch '27516-fix-wrong-call-to-project_cache_worker-method' into 'master'
Fix wrong call to ProjectCacheWorker.perform, and call ProjectCacheWorker.perform_async instead
Closes #27516
See merge request !8910
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tasks/gitlab/import.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/gitlab/import.rake b/lib/tasks/gitlab/import.rake index a2eca74a3c8..036a9307ab5 100644 --- a/lib/tasks/gitlab/import.rake +++ b/lib/tasks/gitlab/import.rake @@ -63,7 +63,7 @@ namespace :gitlab do if project.persisted? puts " * Created #{project.name} (#{repo_path})".color(:green) - ProjectCacheWorker.perform(project.id) + ProjectCacheWorker.perform_async(project.id) else puts " * Failed trying to create #{project.name} (#{repo_path})".color(:red) puts " Errors: #{project.errors.messages}".color(:red) |