6d480cbaf5

The RPC events received by the client are stored in a queue and processed depending on a priority. Before this patch, a pool of threads was spawned to process the received events. However, this model does not improve the processing speed and could lead to potential thread concurrencies not considered. Note that the event processing methods are thread safe against the sync method but not among them. This patch reduce the number of concurrent threads processing the received events to one only, that is safe against the sync process. The network sync process could happen when: * ``_dhcp_ready_ports_loop`` is called. * ``sync_state`` is called. Closes-Bug: #2070376 Change-Id: I21d237de97571aaaae3912d060a3e03a37dd20de
OpenStack Neutron
Neutron is an OpenStack project to provide "network connectivity as a service" between interface devices (e.g., vNICs) managed by other OpenStack services (e.g., Nova).
To learn more about neutron:
- Documentation: https://docs.openstack.org/neutron/latest/
- Features: https://specs.openstack.org/openstack/neutron-specs
- Defects: https://launchpad.net/neutron
- Release notes: https://docs.openstack.org/releasenotes/neutron/index.html
- Source: https://opendev.org/openstack/neutron
If you would like to contribute to Neutron, please read the file CONTRIBUTING.rst or see the Neutron contributor guide:
https://docs.openstack.org/neutron/latest/contributor/contributing.html
Get in touch via email. Use [Neutron] in your subject.
Description
Languages
Python
99.7%
Shell
0.3%