diff --git a/aodh/service.py b/aodh/service.py index 68efc5efb..f785d8e5c 100644 --- a/aodh/service.py +++ b/aodh/service.py @@ -36,6 +36,9 @@ profiler_opts = importutils.try_import('osprofiler.opts') OPTS = [ cfg.IntOpt('http_timeout', 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 ' 'disable timeout.'), cfg.IntOpt('evaluation_interval', diff --git a/releasenotes/notes/deprecate-unused-http_timeout-74fd60a4c26afd88.yaml b/releasenotes/notes/deprecate-unused-http_timeout-74fd60a4c26afd88.yaml new file mode 100644 index 000000000..67bebaa00 --- /dev/null +++ b/releasenotes/notes/deprecate-unused-http_timeout-74fd60a4c26afd88.yaml @@ -0,0 +1,5 @@ +--- +deprecations: + - | + The ``[DEFAULT] http_timeout`` parameter has been deprecated. This + parameter has been unused thus has had no effect.