diff --git a/.envs/.local/.django b/.envs/.local/.django index e646e46eb..29780e680 100644 --- a/.envs/.local/.django +++ b/.envs/.local/.django @@ -21,6 +21,7 @@ CELERY_BROKER_URL=amqp://rabbituser:rabbitpass@rabbitmq:5672/ CELERY_RESULT_BACKEND=rpc:// # Use RabbitMQ for results backend RABBITMQ_DEFAULT_USER=rabbituser RABBITMQ_DEFAULT_PASS=rabbitpass +RABBITMQ_SERVER_ADDITIONAL_ERL_ARGS=-rabbit consumer_timeout 604800000 # Attempting to keep Flower from showing workers as offline # FLOWER_BROKER_API=REDIS_URL diff --git a/.envs/.production/.django-example b/.envs/.production/.django-example index f502030cc..a54d4ae60 100644 --- a/.envs/.production/.django-example +++ b/.envs/.production/.django-example @@ -24,6 +24,13 @@ REDIS_URL=redis://redis:6379/0 CELERY_FLOWER_USER= CELERY_FLOWER_PASSWORD= +# RabbitMQ +CELERY_BROKER_URL= +CELERY_RESULT_BACKEND=rpc:// # Use RabbitMQ for results backend +RABBITMQ_DEFAULT_USER= +RABBITMQ_DEFAULT_PASS= +RABBITMQ_SERVER_ADDITIONAL_ERL_ARGS=-rabbit consumer_timeout 604800000 + # Sendgrid SENDGRID_API_KEY=