Add a stats agent for storing data from expensive queries.

This commit is contained in:
eal 2018-01-13 18:24:16 +02:00
commit 9717166d10
4 changed files with 49 additions and 3 deletions

View file

@ -21,6 +21,7 @@ defmodule Pleroma.Application do
]]),
worker(Pleroma.Web.Federator, []),
worker(Pleroma.Web.ChatChannel.ChatChannelState, []),
worker(Pleroma.Stats, []),
]
++ if Mix.env == :test, do: [], else: [worker(Pleroma.Web.Streamer, [])]