service.py (aodh-14.0.0) | : | service.py (aodh-15.0.0) | ||
---|---|---|---|---|
skipping to change at line 39 | skipping to change at line 39 | |||
from aodh import keystone_client | from aodh import keystone_client | |||
from aodh import messaging | from aodh import messaging | |||
from aodh import profiler | from aodh import profiler | |||
from aodh import version | from aodh import version | |||
profiler_opts = importutils.try_import('osprofiler.opts') | profiler_opts = importutils.try_import('osprofiler.opts') | |||
OPTS = [ | OPTS = [ | |||
cfg.IntOpt('http_timeout', | cfg.IntOpt('http_timeout', | |||
default=600, | default=600, | |||
deprecated_for_removal=True, | ||||
deprecated_reason=('This parameter is not used now and has no ' | ||||
'effect.'), | ||||
help='Timeout seconds for HTTP requests. Set it to None to ' | help='Timeout seconds for HTTP requests. Set it to None to ' | |||
'disable timeout.'), | 'disable timeout.'), | |||
cfg.IntOpt('evaluation_interval', | ||||
default=60, | ||||
help='Period of evaluation cycle, should' | ||||
' be >= than configured pipeline interval for' | ||||
' collection of underlying meters.'), | ||||
] | ] | |||
EVALUATOR_OPTS = [ | EVALUATOR_OPTS = [ | |||
cfg.IntOpt('workers', | cfg.IntOpt('workers', | |||
default=1, | default=1, | |||
min=1, | min=1, | |||
help='Number of workers for evaluator service. ' | help='Number of workers for evaluator service. ' | |||
'default value is 1.') | 'default value is 1.'), | |||
cfg.IntOpt('evaluation_interval', | ||||
default=60, | ||||
deprecated_group='DEFAULT', | ||||
help='Period of evaluation cycle, should' | ||||
' be >= than configured pipeline interval for' | ||||
' collection of underlying meters.'), | ||||
] | ] | |||
NOTIFIER_OPTS = [ | NOTIFIER_OPTS = [ | |||
cfg.IntOpt('workers', | cfg.IntOpt('workers', | |||
default=1, | default=1, | |||
min=1, | min=1, | |||
help='Number of workers for notifier service. ' | help='Number of workers for notifier service. ' | |||
'default value is 1.') | 'default value is 1.') | |||
] | ] | |||
End of changes. 3 change blocks. | ||||
6 lines changed or deleted | 10 lines changed or added |