This commit is contained in:
Daniel Da Cunha 2026-01-18 14:31:21 +00:00 committed by GitHub
commit 4c4078e6c0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -61,6 +61,8 @@ config :pinchflat, Oban,
plugins: [
# Keep old jobs for 30 days for display in the UI
{Oban.Plugins.Pruner, max_age: 30 * 24 * 60 * 60},
# Rescue orphaned jobs stuck in "executing" state after crash/restart
{Oban.Plugins.Lifeline, rescue_after: :timer.minutes(30)},
{Oban.Plugins.Cron,
crontab: [
{"#{current_minute} #{current_hour} * * *", Pinchflat.YtDlp.UpdateWorker},