Skip to content

A platform for community discussion. Free, open, simple.

Make 1gb warning a little less than 1gb (#7368)

James Haggertydcec256b9d99
diff --git a/app/models/admin_dashboard_data.rb b/app/models/admin_dashboard_data.rb
index 168b55166e3..f9639e913ee 100644
--- a/app/models/admin_dashboard_data.rb
+++ b/app/models/admin_dashboard_data.rb
@@ -145,7 +145,7 @@ class AdminDashboardData
end
def ram_check
- I18n.t('dashboard.memory_warning') if MemInfo.new.mem_total && MemInfo.new.mem_total < 1_000_000
+ I18n.t('dashboard.memory_warning') if MemInfo.new.mem_total && MemInfo.new.mem_total < 950_000
end
def google_oauth2_config_check