fix: register rerender_accessible_video task with Celery worker

The task was created but not imported in the Celery task registry,
causing "Received unregistered task" error when triggering re-render.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
michael 2026-01-11 10:12:50 -06:00
parent bcfc026e61
commit a59dbb60ac

View file

@ -29,6 +29,7 @@ celery_app.conf.update(
"app.tasks.translate_and_synthesize.*": {"queue": "default"},
"app.tasks.tts_synthesis.synthesize_cue_task": {"queue": "tts"},
"app.tasks.render_accessible_video.*": {"queue": "render"},
"app.tasks.rerender_accessible_video.*": {"queue": "render"},
"app.tasks.notify.*": {"queue": "notify"},
"app.tasks.ffmpeg_operations.*": {"queue": "ffmpeg"},
"app.tasks.whisper_transcribe.*": {"queue": "whisper"},
@ -123,6 +124,7 @@ def import_task_modules():
from . import translate_and_synthesize # noqa: E402, F401
from . import tts_synthesis # noqa: E402, F401
from . import render_accessible_video # noqa: E402, F401
from . import rerender_accessible_video # noqa: E402, F401
from . import notify # noqa: E402, F401
from . import ffmpeg_operations # noqa: E402, F401
from . import whisper_transcribe # noqa: E402, F401