Add the redis opts to the generate sample shell script
* Fix the redis opts typo in setup.cfg * Fix the default value type for reconnect_sleep in redis * add the redis to oslo.config.generator.rc Change-Id: Ibd439e2bdaa46ddf21802724f9fe7fb6f2b61bc5
This commit is contained in:
parent
f218b60475
commit
ea6a221f68
@ -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
|
||||
|
@ -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
|
||||
|
@ -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. '))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user