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
This commit is contained in:
commit
e3a5f1df29
2 changed files with 5 additions and 1 deletions
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
title: Fix wrong call to ProjectCacheWorker.perform
|
||||
merge_request: 8910
|
||||
author:
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue