Merge "remove unused configuration options"
This commit is contained in:
@@ -32,10 +32,6 @@ OPTS = [
|
|||||||
help='Name of this node, which must be valid in an AMQP '
|
help='Name of this node, which must be valid in an AMQP '
|
||||||
'key. Can be an opaque identifier. For ZeroMQ only, must '
|
'key. Can be an opaque identifier. For ZeroMQ only, must '
|
||||||
'be a valid host name, FQDN, or IP address.'),
|
'be a valid host name, FQDN, or IP address.'),
|
||||||
cfg.IntOpt('notification_workers',
|
|
||||||
default=1,
|
|
||||||
help='Number of workers for notification service. A single '
|
|
||||||
'notification agent is enabled by default.'),
|
|
||||||
cfg.IntOpt('http_timeout',
|
cfg.IntOpt('http_timeout',
|
||||||
default=600,
|
default=600,
|
||||||
help='Timeout seconds for HTTP requests. Set it to None to '
|
help='Timeout seconds for HTTP requests. Set it to None to '
|
||||||
|
|||||||
@@ -155,7 +155,6 @@ function cleanup_aodh {
|
|||||||
function _aodh_configure_storage_backend {
|
function _aodh_configure_storage_backend {
|
||||||
if [ "$AODH_BACKEND" = 'mysql' ] || [ "$AODH_BACKEND" = 'postgresql' ] ; then
|
if [ "$AODH_BACKEND" = 'mysql' ] || [ "$AODH_BACKEND" = 'postgresql' ] ; then
|
||||||
iniset $AODH_CONF database connection $(database_connection_url aodh)
|
iniset $AODH_CONF database connection $(database_connection_url aodh)
|
||||||
iniset $AODH_CONF DEFAULT collector_workers $API_WORKERS
|
|
||||||
elif [ "$AODH_BACKEND" = 'mongodb' ] ; then
|
elif [ "$AODH_BACKEND" = 'mongodb' ] ; then
|
||||||
iniset $AODH_CONF database connection mongodb://localhost:27017/aodh
|
iniset $AODH_CONF database connection mongodb://localhost:27017/aodh
|
||||||
cleanup_aodh
|
cleanup_aodh
|
||||||
|
|||||||
Reference in New Issue
Block a user