Merge "Add the redis opts to the generate sample shell script"

This commit is contained in:
Jenkins 2014-09-20 05:13:51 +00:00 committed by Gerrit Code Review
commit 0f75fdc64c
3 changed files with 3 additions and 2 deletions

View File

@ -63,7 +63,7 @@ oslo.config.opts =
zaqar.queues.storage.pipeline = zaqar.queues.storage.pipeline:_config_options
zaqar.queues.storage.pooling = zaqar.queues.storage.pooling:_config_options
zaqar.queues.storage.mongodb = zaqar.queues.storage.mongodb.options:_config_options
zaqar.queues.storage.redis = zaqar.queues.storage.redis.options:_config_option
zaqar.queues.storage.redis = zaqar.queues.storage.redis.options:_config_options
zaqar.queues.storage.sqlalchemy = zaqar.queues.storage.sqlalchemy.options:_config_options
zaqar.queues.transport.wsgi = zaqar.queues.transport.wsgi.driver:_config_options
zaqar.queues.transport.base = zaqar.queues.transport.base:_config_options

View File

@ -3,6 +3,7 @@ export OSLO_CONFIG_GENERATOR_EXTRA_LIBRARIES="zaqar.queues.bootstrap
zaqar.queues.storage.pipeline
zaqar.queues.storage.pooling
zaqar.queues.storage.mongodb
zaqar.queues.storage.redis
zaqar.queues.storage.sqlalchemy
zaqar.queues.transport.wsgi
zaqar.queues.transport.base

View File

@ -27,7 +27,7 @@ REDIS_OPTIONS = (
help=('Maximum number of times to retry an operation that '
'failed due to a redis node failover.')),
cfg.FloatOpt('reconnect_sleep', default=1,
cfg.FloatOpt('reconnect_sleep', default=1.0,
help=('Base sleep interval between attempts to reconnect '
'after a redis node failover. '))