Collect stats immediately after init

This commit is contained in:
rinpatch 2019-08-15 01:01:13 +03:00
父節點 31d576de0c
當前提交 e8a8d50138

查看文件

@ -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