From af004fa6f53f9d3b366dc513d33b1656e13b20b2 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Sun, 1 Apr 2018 16:08:04 -0700 Subject: [PATCH] rabbitmq: Connect to rabbitmq via 127.0.0.1 rather than localhost. This should eliminate the occasional problems that some installations have had with RabbitMQ trying to load-balance requests between 127.0.0.1 and ::1 (the ipv6 version of localhost). --- zproject/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zproject/settings.py b/zproject/settings.py index 88ac4fbf3a..49154b399f 100644 --- a/zproject/settings.py +++ b/zproject/settings.py @@ -173,7 +173,7 @@ DEFAULT_SETTINGS = { # External service configuration 'CAMO_URI': '', 'MEMCACHED_LOCATION': '127.0.0.1:11211', - 'RABBITMQ_HOST': 'localhost', + 'RABBITMQ_HOST': '127.0.0.1', 'RABBITMQ_USERNAME': 'zulip', 'REDIS_HOST': '127.0.0.1', 'REDIS_PORT': 6379,