diff options
author | lain <lain@soykaf.club> | 2018-02-12 10:13:54 +0100 |
---|---|---|
committer | lain <lain@soykaf.club> | 2018-02-12 10:14:11 +0100 |
commit | 26ccb768d39515faa3b1db7f1371ecf2517eb6bf (patch) | |
tree | cad8d083afe1b126f6907cc6f9d1478c3e469656 /lib | |
parent | 33a5d0a2385984168f7de063093c6a71c8b07b73 (diff) | |
download | pleroma-26ccb768d39515faa3b1db7f1371ecf2517eb6bf.tar.gz |
Make test output easier to read.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/stats.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/stats.ex b/lib/pleroma/stats.ex index 737e9b62e..5f8130ff8 100644 --- a/lib/pleroma/stats.ex +++ b/lib/pleroma/stats.ex @@ -32,7 +32,7 @@ defmodule Pleroma.Stats do domain_count = Enum.count(peers) status_query = from(u in User.local_user_query, select: fragment("sum((?->>'note_count')::int)", u.info)) - status_count = Repo.one(status_query) |> IO.inspect + status_count = Repo.one(status_query) user_count = Repo.aggregate(User.local_user_query, :count, :id) Agent.update(__MODULE__, fn _ -> {peers, %{domain_count: domain_count, status_count: status_count, user_count: user_count}} |