mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 20:44:04 +00:00
rabbitmq: Add a RABBITMQ_PORT setting.
(cherry picked from commit 1492191b6d)
This commit is contained in:
@@ -78,6 +78,7 @@ class QueueClient(Generic[ChannelT], metaclass=ABCMeta):
|
||||
|
||||
return pika.ConnectionParameters(
|
||||
settings.RABBITMQ_HOST,
|
||||
port=settings.RABBITMQ_PORT,
|
||||
heartbeat=self.rabbitmq_heartbeat,
|
||||
tcp_options=tcp_options,
|
||||
credentials=credentials,
|
||||
|
||||
@@ -164,6 +164,7 @@ CAMO_URI = ""
|
||||
MEMCACHED_LOCATION = "127.0.0.1:11211"
|
||||
MEMCACHED_USERNAME = None if get_secret("memcached_password") is None else "zulip@localhost"
|
||||
RABBITMQ_HOST = "127.0.0.1"
|
||||
RABBITMQ_PORT = 5672
|
||||
RABBITMQ_USERNAME = "zulip"
|
||||
REDIS_HOST = "127.0.0.1"
|
||||
REDIS_PORT = 6379
|
||||
|
||||
@@ -553,10 +553,12 @@ SOCIAL_AUTH_SAML_SUPPORT_CONTACT = {
|
||||
########
|
||||
## RabbitMQ configuration.
|
||||
##
|
||||
## By default, Zulip connects to RabbitMQ running locally on the machine,
|
||||
## but Zulip also supports connecting to RabbitMQ over the network;
|
||||
## to use a remote RabbitMQ instance, set RABBITMQ_HOST to the hostname here.
|
||||
## By default, Zulip connects to RabbitMQ running locally on the
|
||||
## machine, but Zulip also supports connecting to RabbitMQ over the
|
||||
## network; to use a remote RabbitMQ instance, set RABBITMQ_HOST, and
|
||||
## optionally RABBITMQ_PORT, to the hostname and port here.
|
||||
# RABBITMQ_HOST = "127.0.0.1"
|
||||
# RABBITMQ_PORT = 5672
|
||||
## To use another RabbitMQ user than the default "zulip", set RABBITMQ_USERNAME here.
|
||||
# RABBITMQ_USERNAME = "zulip"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user