Поменял настройки celery
This commit is contained in:
parent
bce2b05a47
commit
8eb21b6afe
1 changed files with 1 additions and 1 deletions
|
@ -5,4 +5,4 @@ from app.config import settings
|
|||
|
||||
celery = Celery("tasks", broker=f"redis://{settings.REDIS_HOST}:{settings.REDIS_PORT}/1", include=["app.tasks.tasks"])
|
||||
|
||||
celery.conf.update(result_backend=f"redis://{settings.REDIS_HOST}:{settings.REDIS_PORT}")
|
||||
celery.conf.update(result_backend=f"redis://{settings.REDIS_HOST}:{settings.REDIS_PORT}/1")
|
||||
|
|
Loading…
Add table
Reference in a new issue