From: rinpatch Date: Wed, 14 Aug 2019 22:01:13 +0000 (+0300) Subject: Collect stats immediately after init X-Git-Url: http://git.squeep.com/?a=commitdiff_plain;h=e8a8d50138f70240bf853ba67008dc19e75127e8;p=akkoma Collect stats immediately after init --- diff --git a/lib/pleroma/stats.ex b/lib/pleroma/stats.ex index a3b8a4d66..df80fbaa4 100644 --- a/lib/pleroma/stats.ex +++ b/lib/pleroma/stats.ex @@ -32,7 +32,7 @@ defmodule Pleroma.Stats do end def init(args) do - Process.send_after(self(), :run_update, @interval) + Process.send(self(), :run_update, []) {:ok, args} end