Deprecate unused [coordination] heartbeat_interval

This option has never been used by actual logic. This deprecates
the ineffective option so that we can remove it in a future release.

Change-Id: I350e45fc9aef28db8790614ade7a5ad3071e574b
This commit is contained in:
Takashi Kajinami 2023-03-20 18:50:46 +09:00 committed by Takashi Kajinami
parent 5be3de2fd4
commit f34e250fb5
2 changed files with 7 additions and 0 deletions

View File

@ -579,6 +579,8 @@ coordination_opts = [
cfg.FloatOpt(
'heartbeat_interval',
default=5.0,
deprecated_for_removal=True,
deprecated_reason='This option has been unused and has had no effect',
help=_('Number of seconds between heartbeats for coordination.')
)
]

View File

@ -0,0 +1,5 @@
---
deprecations:
- |
The ``[coordination] heartbeat_interval`` option has been deprecated.
This option has been unused by any logic and has had no effect.