Reprocess failed recordings

This commit is contained in:
2025-02-28 14:41:43 +01:00
parent 7f53398926
commit 2b5f1275a9
2 changed files with 73 additions and 0 deletions

View File

@@ -1,6 +1,7 @@
import celery
import structlog
from celery import Celery
from celery.schedules import crontab
from reflector.settings import settings
logger = structlog.get_logger(__name__)
@@ -30,6 +31,10 @@ else:
"task": "reflector.worker.process.process_meetings",
"schedule": 60.0,
},
"reprocess_failed_recordings": {
"task": "reflector.worker.process.reprocess_failed_recordings",
"schedule": crontab(hour=5, minute=0), # Midnight EST
},
}
if settings.HEALTHCHECK_URL: