refactor: add strategy.process() to BaseStrategy

This commit is contained in:
Felix Spöttel
2023-06-29 16:31:57 +02:00
parent 05ebc17215
commit 85c3f1fc44
3 changed files with 25 additions and 25 deletions

View File

@@ -20,6 +20,7 @@ class TaskQueue:
allow for full separation of worker processes and dependencies.
"""
transcribe = self.celery.signature("app.worker.main.transcribe")
# TODO: catch delivery errors?
transcribe.delay(job.id)
def rehydrate(self, session: Session):