15 lines
454 B
Plaintext
15 lines
454 B
Plaintext
{% if zmq_host -%}
|
|
# ZeroMQ configuration (restart-nonce: {{ zmq_nonce }})
|
|
rpc_backend = zmq
|
|
rpc_zmq_host = {{ zmq_host }}
|
|
{% if zmq_redis_address -%}
|
|
rpc_zmq_matchmaker = oslo_messaging._drivers.matchmaker_redis.MatchMakerRedis
|
|
matchmaker_heartbeat_freq = 15
|
|
matchmaker_heartbeat_ttl = 30
|
|
[matchmaker_redis]
|
|
host = {{ zmq_redis_address }}
|
|
{% else -%}
|
|
rpc_zmq_matchmaker = oslo_messaging._drivers.matchmaker_ring.MatchMakerRing
|
|
{% endif -%}
|
|
{% endif -%}
|