1
0
Fork 0
mirror of https://framagit.org/framasoft/mobilizon.git synced 2024-12-21 23:44:30 +00:00

Add Oban.Plugins.Pruner to clear done jobs

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2021-01-27 16:43:34 +01:00
parent 43c694be72
commit d0e28c6308
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -285,7 +285,8 @@ config :mobilizon, Oban,
# To be activated in Mobilizon 1.2
# {"@hourly", Mobilizon.Service.Workers.CleanOrphanMediaWorker, queue: :background},
{"@hourly", Mobilizon.Service.Workers.CleanUnconfirmedUsersWorker, queue: :background}
]}
]},
{Oban.Plugins.Pruner, max_age: 300}
]
config :mobilizon, :rich_media,