X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;f=lib%2Fpleroma%2Fhealthcheck.ex;h=92ce83cb7ba6669397b467d01799aaa0bb72e257;hb=9f7ee5dfa283f8db9a5fcb006630674263425ac8;hp=fc212981523178777fc7eb91bce2a293bd0bd8a4;hpb=91e90aa807c2ce346cd453201447806fb71b21fe;p=akkoma
diff --git a/lib/pleroma/healthcheck.ex b/lib/pleroma/healthcheck.ex
index fc2129815..92ce83cb7 100644
--- a/lib/pleroma/healthcheck.ex
+++ b/lib/pleroma/healthcheck.ex
@@ -1,5 +1,5 @@
# Pleroma: A lightweight social networking server
-# Copyright © 2017-2019 Pleroma Authors
+# Copyright © 2017-2020 Pleroma Authors
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Healthcheck do
@@ -29,7 +29,7 @@ defmodule Pleroma.Healthcheck do
@spec system_info() :: t()
def system_info do
%Healthcheck{
- memory_used: Float.round(:erlang.memory(:total) / 1024 / 1024, 2)
+ memory_used: Float.round(:recon_alloc.memory(:allocated) / 1024 / 1024, 2)
}
|> assign_db_info()
|> assign_job_queue_stats()