]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Spawn dedicated rpc workers for state reports queue
authorEugene Nikanorov <enikanorov@mirantis.com>
Mon, 12 Oct 2015 12:21:02 +0000 (16:21 +0400)
committerEugene Nikanorov <enikanorov@mirantis.com>
Wed, 21 Oct 2015 13:55:25 +0000 (17:55 +0400)
commit678b431ba4be8ccf6e505b3dd8fb8e9465b82f83
tree01b481cc9ef2d7a1a353487ea9fdd1ef8141ef08
parent948316190dd445ec387b391cd89b87c19d19b91b
Spawn dedicated rpc workers for state reports queue

By default spawn one additional rpc worker to process
state report queue.
State report queue will also be processed by regular
rpc workers, but in case these workers are busy with
processing heavy requests, state reports queue will
automatically be consumed by dedicated rpc workers.

This change applies to ML2 plugin only.
Other plugins should implement start_rpc_state_reports_listener
to enable additional rpc workers.

Change-Id: I5f8df6a478f7c82382049274b34b07109eeafbdb
Closes-Bug: #1505217
etc/neutron.conf
neutron/neutron_plugin_base_v2.py
neutron/plugins/ml2/plugin.py
neutron/service.py
neutron/tests/functional/test_server.py