Increase timeouts for large-file transcription
Mirror and run GitLab CI / build (push) Has been cancelled
Ruff / ruff (push) Has been cancelled

- LocalAI client timeout: 600s -> 3600s
- Summarizer timeout: 600s -> 3600s
- Add task_time_limit=14400s (4h) and soft_time_limit=13500s to transcription task
This commit is contained in:
admin
2026-06-16 17:18:09 +00:00
parent 03d66219d9
commit c43076efd4
3 changed files with 4 additions and 2 deletions
+2
View File
@@ -251,6 +251,8 @@ def send_error_email(to: str, error_message: str, task_id: str):
name="scraibe.tasks.process_transcription_task",
bind=True,
max_retries=1,
task_time_limit=14400, # 4 hours
task_soft_time_limit=13500, # warn at 3h45m
)
def process_transcription_task(
self,