Commit e3a5f1df authored by Robert Speicher's avatar Robert Speicher

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
parents 3997e672 89a2438a
---
title: Fix wrong call to ProjectCacheWorker.perform
merge_request: 8910
author:
...@@ -63,7 +63,7 @@ namespace :gitlab do ...@@ -63,7 +63,7 @@ namespace :gitlab do
if project.persisted? if project.persisted?
puts " * Created #{project.name} (#{repo_path})".color(:green) puts " * Created #{project.name} (#{repo_path})".color(:green)
ProjectCacheWorker.perform(project.id) ProjectCacheWorker.perform_async(project.id)
else else
puts " * Failed trying to create #{project.name} (#{repo_path})".color(:red) puts " * Failed trying to create #{project.name} (#{repo_path})".color(:red)
puts " Errors: #{project.errors.messages}".color(:red) puts " Errors: #{project.errors.messages}".color(:red)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment