fix(federation): only refresh instances once a day
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
e8d34b4ea9
commit
6745590e54
@ -307,7 +307,7 @@ config :mobilizon, Oban,
|
|||||||
crontab: [
|
crontab: [
|
||||||
{"@hourly", Mobilizon.Service.Workers.BuildSiteMap, queue: :background},
|
{"@hourly", Mobilizon.Service.Workers.BuildSiteMap, queue: :background},
|
||||||
{"17 4 * * *", Mobilizon.Service.Workers.RefreshGroups, 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.CleanOrphanMediaWorker, queue: :background},
|
||||||
{"@hourly", Mobilizon.Service.Workers.CleanUnconfirmedUsersWorker, queue: :background},
|
{"@hourly", Mobilizon.Service.Workers.CleanUnconfirmedUsersWorker, queue: :background},
|
||||||
{"@hourly", Mobilizon.Service.Workers.ExportCleanerWorker, queue: :background},
|
{"@hourly", Mobilizon.Service.Workers.ExportCleanerWorker, queue: :background},
|
||||||
|
Loading…
Reference in New Issue
Block a user