mirror of
https://github.com/StanGirard/quivr.git
synced 2024-12-02 08:40:53 +03:00
Add Redis password logging in celery_config.py
This commit is contained in:
parent
4406f1deb2
commit
42db236e40
@ -33,6 +33,7 @@ if CELERY_BROKER_URL.startswith("sqs"):
|
||||
celery.conf.task_default_queue = CELERY_BROKER_QUEUE_NAME
|
||||
elif REDIS_HOST:
|
||||
logger.info(f"Using Redis as broker: {REDIS_HOST}:{REDIS_PORT}")
|
||||
logger.info(f"Using password: {REDIS_PASS}")
|
||||
celery = Celery(
|
||||
__name__,
|
||||
# redis://:password@hostname:port/db_number
|
||||
|
Loading…
Reference in New Issue
Block a user