Add new attributes for common rpc configuration

We need provide ability to configure the following rpc related
attributes:
rpc_thread_pool_size
rpc_conn_pool_size
rpc_response_timeout

Change-Id: Iaef0dce83f44ff989ad9a25392d803847d56b37c
This commit is contained in:
gengjh
2013-11-25 12:44:40 +08:00
parent d5a321f086
commit 4e7573f38d
6 changed files with 38 additions and 4 deletions

View File

@@ -341,13 +341,16 @@ db_backend=sqlalchemy
# rpc_backend=cinder.openstack.common.rpc.impl_kombu
#### (StrOpt) The messaging module to use, defaults to kombu.
# rpc_thread_pool_size=64
rpc_thread_pool_size=<%= node["openstack"]["block-storage"]["rpc_thread_pool_size"] %>
#### (IntOpt) Size of RPC thread pool
# rpc_conn_pool_size=30
rpc_conn_pool_size=<%= node["openstack"]["block-storage"]["rpc_conn_pool_size"] %>
#### (IntOpt) Size of RPC connection pool
# rpc_response_timeout=60
rpc_response_timeout=<%= node["openstack"]["block-storage"]["rpc_response_timeout"] %>
#### (IntOpt) Seconds to wait for a response from call or multicall
# rpc_cast_timeout=30