projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[#1892] Excluded internal users (applications) from user search results, reinstated...
[akkoma]
/
lib
/
pleroma
/
healthcheck.ex
diff --git
a/lib/pleroma/healthcheck.ex
b/lib/pleroma/healthcheck.ex
index fc212981523178777fc7eb91bce2a293bd0bd8a4..92ce83cb7ba6669397b467d01799aaa0bb72e257 100644
(file)
--- a/
lib/pleroma/healthcheck.ex
+++ b/
lib/pleroma/healthcheck.ex
@@
-1,5
+1,5
@@
# Pleroma: A lightweight social networking server
# Pleroma: A lightweight social networking server
-# Copyright © 2017-20
19
Pleroma Authors <https://pleroma.social/>
+# Copyright © 2017-20
20
Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Healthcheck do
# 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{
@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()
}
|> assign_db_info()
|> assign_job_queue_stats()