A platform for community discussion. Free, open, simple.
PERF: Make stylesheet max_file_mtime calculation more efficient (#12876)
David Taylor7568c7a101f8
diff --git a/lib/stylesheet/manager.rb b/lib/stylesheet/manager.rbindex 2d92ed8c5e2..91f449c06e3 100644--- a/lib/stylesheet/manager.rb+++ b/lib/stylesheet/manager.rb@@ -208,7 +208,7 @@ class Stylesheet::ManagerDiscourse.plugins.map { |plugin| File.dirname(plugin.path) }.each do |path|globs << "#{path}/plugin.rb"- globs << "#{path}/**/*.*css"+ globs << "#{path}/assets/stylesheets/**/*.*css"endglobs.map do |pattern|