Added notification_workers to ceilo.conf
notification_workers to be configurable using API_WORKERS to facilitate multi- threaded consumption from oslo bus. Change-Id: I2943eade566daf360f18c8727e8c9da6de1a1047
This commit is contained in:
parent
ef9f8793e9
commit
fdf002bd7a
|
@ -207,7 +207,7 @@ function configure_ceilometer {
|
||||||
sudo install -d -o $STACK_USER -m 755 $CEILOMETER_CONF_DIR $CEILOMETER_API_LOG_DIR
|
sudo install -d -o $STACK_USER -m 755 $CEILOMETER_CONF_DIR $CEILOMETER_API_LOG_DIR
|
||||||
|
|
||||||
iniset_rpc_backend ceilometer $CEILOMETER_CONF
|
iniset_rpc_backend ceilometer $CEILOMETER_CONF
|
||||||
|
iniset $CEILOMETER_CONF DEFAULT notification_workers $API_WORKERS
|
||||||
iniset $CEILOMETER_CONF DEFAULT notification_topics "$CEILOMETER_NOTIFICATION_TOPICS"
|
iniset $CEILOMETER_CONF DEFAULT notification_topics "$CEILOMETER_NOTIFICATION_TOPICS"
|
||||||
iniset $CEILOMETER_CONF DEFAULT verbose True
|
iniset $CEILOMETER_CONF DEFAULT verbose True
|
||||||
iniset $CEILOMETER_CONF DEFAULT debug "$ENABLE_DEBUG_LOG_LEVEL"
|
iniset $CEILOMETER_CONF DEFAULT debug "$ENABLE_DEBUG_LOG_LEVEL"
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
|
|
||||||
[DEFAULT]
|
[DEFAULT]
|
||||||
collector_workers = 4
|
collector_workers = 1
|
||||||
|
notification_workers = 3
|
||||||
policy_file = /etc/ceilometer/policy.json
|
policy_file = /etc/ceilometer/policy.json
|
||||||
debug = False
|
debug = False
|
||||||
verbose = False
|
verbose = False
|
||||||
|
|
Loading…
Reference in New Issue