mirror of
https://github.com/mirage/qubes-mirage-firewall.git
synced 2024-12-27 16:19:24 -05:00
remove unneeded logs: be silent if the GC is enough
This commit is contained in:
parent
eb4d0fc371
commit
06b9a88331
@ -63,7 +63,8 @@ let status () =
|
||||
Gc.full_major ();
|
||||
Xen_os.Memory.trim ();
|
||||
let stats = Xen_os.Memory.quick_stat () in
|
||||
report_mem_usage stats;
|
||||
if fraction_free stats < 0.6 then `Memory_critical
|
||||
else `Ok
|
||||
if fraction_free stats < 0.6 then begin
|
||||
report_mem_usage stats;
|
||||
`Memory_critical
|
||||
end else `Ok
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user