From 6745590e54dce236dc7a2319f9c49c4aa6858306 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Tue, 6 Jun 2023 12:12:19 +0200 Subject: [PATCH] fix(federation): only refresh instances once a day Signed-off-by: Thomas Citharel --- config/config.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/config.exs b/config/config.exs index 70e446dfb..3704be0ed 100644 --- a/config/config.exs +++ b/config/config.exs @@ -307,7 +307,7 @@ config :mobilizon, Oban, crontab: [ {"@hourly", Mobilizon.Service.Workers.BuildSiteMap, queue: :background}, {"17 4 * * *", Mobilizon.Service.Workers.RefreshGroups, queue: :background}, - {"36 * * * *", Mobilizon.Service.Workers.RefreshInstances, queue: :background}, + {"36 3 * * *", Mobilizon.Service.Workers.RefreshInstances, queue: :background}, {"@hourly", Mobilizon.Service.Workers.CleanOrphanMediaWorker, queue: :background}, {"@hourly", Mobilizon.Service.Workers.CleanUnconfirmedUsersWorker, queue: :background}, {"@hourly", Mobilizon.Service.Workers.ExportCleanerWorker, queue: :background},