fix: Update Celery config to remove SSL certificate requirement

This commit is contained in:
Stan Girard 2024-02-20 19:56:14 -08:00
parent f11eabe309
commit f5fb444bc8

View File

@ -28,8 +28,8 @@ if CELERY_BROKER_URL.startswith("sqs"):
elif CELERY_BROKER_URL.startswith("redis"):
celery = Celery(
__name__,
broker=f"{CELERY_BROKER_URL}?ssl_cert_reqs=none",
backend=f"{CELERY_BROKER_URL}?ssl_cert_reqs=none",
broker=f"{CELERY_BROKER_URL}",
backend=f"{CELERY_BROKER_URL}",
task_concurrency=4,
worker_prefetch_multiplier=2,
task_serializer="json",