Merge "enable a single worker by default"
This commit is contained in:
commit
69a9bfa3a7
@ -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)
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
||||
#
|
||||
|
Loading…
x
Reference in New Issue
Block a user