server: start moving to an external celery task

This commit is contained in:
2023-10-20 18:00:59 +02:00
committed by Mathieu Virbel
parent 16a8579272
commit 8bebb2a769
6 changed files with 392 additions and 1 deletions

View File

@@ -113,5 +113,9 @@ class Settings(BaseSettings):
# Min transcript length to generate topic + summary
MIN_TRANSCRIPT_LENGTH: int = 750
# Celery
CELERY_BROKER_URL: str = "redis://localhost:6379/1"
CELERY_RESULT_BACKEND: str = "redis://localhost:6379/1"
settings = Settings()