This commit is contained in:
2024-02-12 01:11:00 +03:00
parent 5a133a05e1
commit e0798de713
2 changed files with 2 additions and 3 deletions

View File

@@ -2,7 +2,6 @@ import asyncio
from celery import Celery
from ..fastfood.config import settings
from .updater import main
loop = asyncio.get_event_loop()
@@ -10,7 +9,7 @@ loop = asyncio.get_event_loop()
celery_app = Celery(
'tasks',
broker=settings.REBBITMQ_URL,
broker='amqp://guest:guest@rabbitmq',
backend='rpc://',
include=['bg_tasks.bg_task'],
)