feat: leak fix

This commit is contained in:
2024-11-04 07:28:40 +03:00
parent 757ed72ec3
commit 87e3e64294

View File

@@ -4,5 +4,7 @@ from backend.config import CELERY_RESULT_BACKEND, CELERY_BROKER_URL
celery = Celery( celery = Celery(
__name__, __name__,
broker=CELERY_BROKER_URL, broker=CELERY_BROKER_URL,
backend=CELERY_RESULT_BACKEND backend=CELERY_RESULT_BACKEND,
) )
celery.conf.result_backend_thread_safe = True