From e662e3b57d6087acc8b6220d4f58cbadd88f4be5 Mon Sep 17 00:00:00 2001 From: rkuo-danswer Date: Tue, 17 Sep 2024 22:35:57 -0700 Subject: [PATCH] clarify ssl cert reqs (#2494) Co-authored-by: Richard Kuo --- backend/danswer/configs/app_configs.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/backend/danswer/configs/app_configs.py b/backend/danswer/configs/app_configs.py index c97bd535d38..2dbe596b635 100644 --- a/backend/danswer/configs/app_configs.py +++ b/backend/danswer/configs/app_configs.py @@ -164,7 +164,9 @@ ) REDIS_DB_NUMBER_CELERY = int(os.environ.get("REDIS_DB_NUMBER_CELERY", 15)) # broker -REDIS_SSL_CERT_REQS = os.getenv("REDIS_SSL_CERT_REQS", "CERT_NONE") +# https://docs.celeryq.dev/en/stable/userguide/configuration.html#redis-backend-settings +# should be one of "required", "optional", or "none" +REDIS_SSL_CERT_REQS = os.getenv("REDIS_SSL_CERT_REQS", "none") REDIS_SSL_CA_CERTS = os.getenv("REDIS_SSL_CA_CERTS", "") CELERY_RESULT_EXPIRES = int(os.environ.get("CELERY_RESULT_EXPIRES", 86400)) # seconds