Merge branch 'fix/stats-send-after' into 'develop'
Collect stats immediately after init See merge request pleroma/pleroma!1574
This commit is contained in:
commit
27b747546a
@ -32,7 +32,7 @@ defmodule Pleroma.Stats do
|
|||||||
end
|
end
|
||||||
|
|
||||||
def init(args) do
|
def init(args) do
|
||||||
Process.send_after(self(), :run_update, @interval)
|
Process.send(self(), :run_update, [])
|
||||||
{:ok, args}
|
{:ok, args}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user