RED-4653: Set heartbeat to lower value so that disconnects are detected more quickly
This commit is contained in:
parent
9c346df483
commit
8f2bc4e028
@ -23,7 +23,7 @@ class Config(object):
|
|||||||
self.rabbitmq_password = read_from_environment("RABBITMQ_PASSWORD", "bitnami")
|
self.rabbitmq_password = read_from_environment("RABBITMQ_PASSWORD", "bitnami")
|
||||||
|
|
||||||
# Controls AMQP heartbeat timeout in seconds
|
# Controls AMQP heartbeat timeout in seconds
|
||||||
self.rabbitmq_heartbeat = read_from_environment("RABBITMQ_HEARTBEAT", "7200")
|
self.rabbitmq_heartbeat = read_from_environment("RABBITMQ_HEARTBEAT", "60")
|
||||||
|
|
||||||
# Queue name for requests to the service
|
# Queue name for requests to the service
|
||||||
self.request_queue = read_from_environment("REQUEST_QUEUE", "request_queue")
|
self.request_queue = read_from_environment("REQUEST_QUEUE", "request_queue")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user