neutron/releasenotes/notes/min-workers-8705bf4f76c8b70d.yaml
Takashi Kajinami 78e8f1dca0 Set minumum boundary for workers
api_workers=0 does not disable api workers but neutron-server still
launches one api worker. Rejecting 0 helps user notice that the value
they request in config files is not honored.

Also the other rpc workers options disable the corresponding workers
completely by setting these options to 0, so setting negative values
work but does not bring any special benefit.

Change-Id: Iac16b241c71ac1068c6fbea3cc792b74bfc66c03
2024-02-12 06:28:23 +00:00

12 lines
397 B
YAML

---
upgrade:
- |
The ``[DEFAULT] api_workers`` option no longer accepts 0 or negative
values. Previously 0 or a negative value was translated to 1 and
neutron-server launched 1 api worker.
- |
The ``[DEFAULT] rpc_workers`` option and
the ``[DEFAULT] rpc_state_report_workers`` option no longer accept negative
values. To disable these workers, set these options to 0.