Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Improve performance of loading seed files

Christophe Bliardde6a97a33998
diff --git a/app/seeders/source/seed_file.rb b/app/seeders/source/seed_file.rb
index 6b4cadbd385..39795fa7647 100644
--- a/app/seeders/source/seed_file.rb
+++ b/app/seeders/source/seed_file.rb
@@ -42,7 +42,7 @@ class Source::SeedFile
def find_all_seed_files
Pathname
- .glob('**/app/seeders/*.yml')
+ .glob('{modules/*/,}app/seeders/*.yml')
.map { |seed_file_path| new(seed_file_path) }
.freeze
end