mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2025-04-23 13:27:34 -04:00
Collect stats immediately after init
This commit is contained in:
parent
31d576de0c
commit
e8a8d50138
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue