summaryrefslogtreecommitdiff
path: root/lib/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tasks')
-rw-r--r--lib/tasks/gitlab/update_templates.rake3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/tasks/gitlab/update_templates.rake b/lib/tasks/gitlab/update_templates.rake
index 17199c1871d..a7e30423c7a 100644
--- a/lib/tasks/gitlab/update_templates.rake
+++ b/lib/tasks/gitlab/update_templates.rake
@@ -40,8 +40,9 @@ namespace :gitlab do
end
puts "Waiting for the import to finish"
+
sleep(5)
- project = project.reload
+ project.reload
end
Projects::ImportExport::ExportService.new(project, admin).execute