From 26ccb768d39515faa3b1db7f1371ecf2517eb6bf Mon Sep 17 00:00:00 2001 From: lain Date: Mon, 12 Feb 2018 10:13:54 +0100 Subject: Make test output easier to read. --- lib/pleroma/stats.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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}} -- cgit v1.2.3