mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-22 07:52:43 +00:00
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
1 changed files with 2 additions and 1 deletions
|
@ -285,7 +285,8 @@ config :mobilizon, Oban,
|
||||||
# To be activated in Mobilizon 1.2
|
# To be activated in Mobilizon 1.2
|
||||||
# {"@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}
|
||||||
]}
|
]},
|
||||||
|
{Oban.Plugins.Pruner, max_age: 300}
|
||||||
]
|
]
|
||||||
|
|
||||||
config :mobilizon, :rich_media,
|
config :mobilizon, :rich_media,
|
||||||
|
|
Loading…
Reference in a new issue