Merge "enable a single worker by default"

This commit is contained in:
Jenkins 2014-03-27 02:08:59 +00:00 committed by Gerrit Code Review
commit 69a9bfa3a7
2 changed files with 12 additions and 10 deletions

View File

@ -42,11 +42,13 @@ OPTS = [
default=['database'],
help='Dispatcher to process data.'),
cfg.IntOpt('collector_workers',
help='Number of workers for collector service. The default '
'will be equal to the number of CPUs available.'),
default=1,
help='Number of workers for collector service. A single '
'collector is enabled by default.'),
cfg.IntOpt('notification_workers',
help='Number of workers for notification service. The default '
'will be equal to the number of CPUs available.'),
default=1,
help='Number of workers for notification service. A single '
'notification agent is enabled by default.'),
]
cfg.CONF.register_opts(OPTS)

View File

@ -40,13 +40,13 @@
# Dispatcher to process data. (multi valued)
#dispatcher=database
# Number of workers for collector service. The default will be
# equal to the number of CPUs available. (integer value)
#collector_workers=<None>
# Number of workers for collector service. A single
# collector is enabled by default. (integer value)
#collector_workers=1
# Number of workers for notification service. The default will
# be equal to the number of CPUs available. (integer value)
#notification_workers=<None>
# Number of workers for notification service. A single
# notification agent is enabled by default. (integer value)
#notification_workers=1
#