update stats every 5 minutes
This commit is contained in:
parent
b91e671c0d
commit
7b76fdeed3
|
@ -11,7 +11,7 @@ defmodule Pleroma.Stats do
|
||||||
alias Pleroma.Repo
|
alias Pleroma.Repo
|
||||||
alias Pleroma.User
|
alias Pleroma.User
|
||||||
|
|
||||||
@interval :timer.seconds(60)
|
@interval :timer.seconds(300)
|
||||||
|
|
||||||
def start_link(_) do
|
def start_link(_) do
|
||||||
GenServer.start_link(
|
GenServer.start_link(
|
||||||
|
|
Loading…
Reference in a new issue