Browse Source

Merge branch 'fix/stats-send-after' into 'develop'

Collect stats immediately after init

See merge request pleroma/pleroma!1574
tags/v1.1.4
rinpatch 4 years ago
parent
commit
27b747546a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/pleroma/stats.ex

+ 1
- 1
lib/pleroma/stats.ex View File

@@ -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…
Cancel
Save