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:
authorSean McGivern <sean@mcgivern.me.uk>2016-12-26 12:48:30 +0300
committerSean McGivern <sean@mcgivern.me.uk>2016-12-26 12:48:30 +0300
commit0ebd50ce0015a6a1dcd273cada9d9be8c20a12bb (patch)
tree4a92afbdd3e1e473f7d881024b49a36b9d5d3ebb /lib/tasks/gitlab/import.rake
parent645412b57f558d58418aad278c9a3bf421439e1c (diff)
parent3ef4f74b1acc9399db320b53dffc592542de0126 (diff)
Merge branch 'feature/more-storage-statistics' into 'master'
Add more storage statistics See merge request !7754
Diffstat (limited to 'lib/tasks/gitlab/import.rake')
-rw-r--r--lib/tasks/gitlab/import.rake3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/tasks/gitlab/import.rake b/lib/tasks/gitlab/import.rake
index dbdd4e977e8..a2eca74a3c8 100644
--- a/lib/tasks/gitlab/import.rake
+++ b/lib/tasks/gitlab/import.rake
@@ -63,8 +63,7 @@ namespace :gitlab do
if project.persisted?
puts " * Created #{project.name} (#{repo_path})".color(:green)
- project.update_repository_size
- project.update_commit_count
+ ProjectCacheWorker.perform(project.id)
else
puts " * Failed trying to create #{project.name} (#{repo_path})".color(:red)
puts " Errors: #{project.errors.messages}".color(:red)