diff options
author | rinpatch <rinpatch@sdf.org> | 2019-08-14 22:10:44 +0000 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2019-08-14 22:10:44 +0000 |
commit | 27b747546a7796de57e88f454b2c2810c7523f97 (patch) | |
tree | fbea866f1c21867c86a561c6d537f3a7bd4dbe4e | |
parent | 31d576de0c91019d80e465984d4423779e7ccede (diff) | |
parent | e8a8d50138f70240bf853ba67008dc19e75127e8 (diff) | |
download | pleroma-27b747546a7796de57e88f454b2c2810c7523f97.tar.gz |
Merge branch 'fix/stats-send-after' into 'develop'
Collect stats immediately after init
See merge request pleroma/pleroma!1574
-rw-r--r-- | lib/pleroma/stats.ex | 2 |
1 files changed, 1 insertions, 1 deletions
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 |