Make 1gb warning a little less than 1gb (#7368)
When you have '1gb' RAM, this might be a little less than 1,000,000. Let's not warn unless it's well under 1gb.
This commit is contained in:
parent
24ef4f7b2b
commit
dcec256b9d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue