Merge "Improve help strings"
This commit is contained in:
commit
edf9c2b552
@ -43,9 +43,9 @@ _GENERAL_OPTIONS = [
|
||||
|
||||
_DRIVER_OPTIONS = [
|
||||
cfg.StrOpt('transport', default='wsgi',
|
||||
help='Transport driver to use'),
|
||||
help='Transport driver to use.'),
|
||||
cfg.StrOpt('storage', default='sqlite',
|
||||
help='Storage driver to use'),
|
||||
help='Storage driver to use.'),
|
||||
]
|
||||
|
||||
_DRIVER_GROUP = 'drivers'
|
||||
|
@ -22,12 +22,12 @@ from marconi.common import utils
|
||||
|
||||
|
||||
MONGODB_OPTIONS = [
|
||||
cfg.StrOpt('uri', help='Mongodb Connection URI'),
|
||||
cfg.StrOpt('uri', help='Mongodb Connection URI.'),
|
||||
|
||||
# Database name
|
||||
# TODO(kgriffs): Consider local sharding across DBs to mitigate
|
||||
# per-DB locking latency.
|
||||
cfg.StrOpt('database', default='marconi', help='Database name'),
|
||||
cfg.StrOpt('database', default='marconi', help='Database name.'),
|
||||
|
||||
cfg.IntOpt('partitions', default=2,
|
||||
help=('Number of databases across which to '
|
||||
@ -40,7 +40,7 @@ MONGODB_OPTIONS = [
|
||||
'MongoDB on SSD storage.')),
|
||||
|
||||
cfg.IntOpt('max_attempts', default=1000,
|
||||
help=('Maximum number of times to retry a failed operation.'
|
||||
help=('Maximum number of times to retry a failed operation. '
|
||||
'Currently only used for retrying a message post.')),
|
||||
|
||||
cfg.FloatOpt('max_retry_sleep', default=0.1,
|
||||
|
@ -31,7 +31,7 @@ LOG = log.getLogger(__name__)
|
||||
|
||||
_CATALOG_OPTIONS = [
|
||||
cfg.IntOpt('storage', default='sqlite',
|
||||
help='Catalog storage driver'),
|
||||
help='Catalog storage driver.'),
|
||||
]
|
||||
|
||||
_CATALOG_GROUP = 'sharding:catalog'
|
||||
|
@ -34,10 +34,10 @@ from marconi.queues.transport import validation
|
||||
|
||||
_WSGI_OPTIONS = [
|
||||
cfg.StrOpt('bind', default='127.0.0.1',
|
||||
help='Address on which the self-hosting server will listen'),
|
||||
help='Address on which the self-hosting server will listen.'),
|
||||
|
||||
cfg.IntOpt('port', default=8888,
|
||||
help='Port on which the self-hosting server will listen'),
|
||||
help='Port on which the self-hosting server will listen.'),
|
||||
]
|
||||
|
||||
_WSGI_GROUP = 'drivers:transport:wsgi'
|
||||
|
Loading…
x
Reference in New Issue
Block a user