Add Oban.Plugins.Pruner to clear done jobs
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
43c694be72
commit
d0e28c6308
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user