Can I do something like:
plugins: [{
Oban.Pro.Plugins.DynamicPruner,
worker_overrides: [
"MyApp.BusyWorker": {:max_age, {1, :day}},
"MyApp.SecretWorker": {:max_age, {1, :second}},
"MyApp.HistoricWorker": {:max_age, {1, :month},
state_overrides: [
cancelled: {:max_len, :infinity},
discarded: {:max_age, :infinity}
]}
]
}]
so when successful, it gets pruned in a month, if not successful it never gets pruned?