moved Pleroma.Stats to Oban Periodic jobs

This commit is contained in:
Maksim Pechnikov 2019-11-26 10:53:07 +03:00
commit ac3abb5414
4 changed files with 48 additions and 11 deletions

View file

@ -507,7 +507,8 @@ config :pleroma, Oban,
background: 5
],
crontab: [
{"0 0 * * *", Pleroma.Workers.Cron.ClearOauthTokenWorker}
{"0 0 * * *", Pleroma.Workers.Cron.ClearOauthTokenWorker},
{"0 * * * *", Pleroma.Workers.Cron.StatsWorker}
]
config :pleroma, :workers,