mirror of
https://github.com/plausible/analytics.git
synced 2024-11-26 23:27:54 +03:00
Keep longer history of oban jobs
This commit is contained in:
parent
83a759c60a
commit
0d71ec3acd
@ -201,6 +201,8 @@ if config_env() == :prod && !disable_cron do
|
||||
]
|
||||
|
||||
config :plausible, Oban,
|
||||
# Keep 30 days history
|
||||
plugins: [{Oban.Plugins.Pruner, max_age: 2_592_000}],
|
||||
repo: Plausible.Repo,
|
||||
queues: if(is_selfhost, do: base_queues, else: base_queues ++ extra_queues),
|
||||
crontab: if(is_selfhost, do: base_cron, else: base_cron ++ extra_cron)
|
||||
|
Loading…
Reference in New Issue
Block a user