Изменил бд для селери
This commit is contained in:
parent
6edbd9482d
commit
36576d7725
1 changed files with 2 additions and 2 deletions
|
|
@ -3,6 +3,6 @@ from celery import Celery
|
|||
from app.config import settings
|
||||
|
||||
|
||||
celery = Celery("tasks", broker=f"redis://{settings.REDIS_HOST}:{settings.REDIS_PORT}/1", include=["app.tasks.tasks"])
|
||||
celery = Celery("tasks", broker=f"redis://{settings.REDIS_HOST}:{settings.REDIS_PORT}", include=["app.tasks.tasks"])
|
||||
|
||||
celery.conf.update(result_backend=f"redis://{settings.REDIS_HOST}:{settings.REDIS_PORT}/1")
|
||||
celery.conf.update(result_backend=f"redis://{settings.REDIS_HOST}:{settings.REDIS_PORT}")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue