Renamed consume_in_thread -> consume_in_threads
Now that we explicitly start multiple RPC servers, and each listener is served in a separate thread, renamed the method to reflect new behaviour. blueprint oslo-messaging Change-Id: I616f3a23e23e982e13f9b56ce417ca3623247f95
This commit is contained in:
@@ -132,7 +132,7 @@ class Ml2Plugin(db_base_plugin_v2.NeutronDbPluginV2,
|
||||
self.dispatcher = self.callbacks.create_rpc_dispatcher()
|
||||
self.conn.create_consumer(self.topic, self.dispatcher,
|
||||
fanout=False)
|
||||
return self.conn.consume_in_thread()
|
||||
return self.conn.consume_in_threads()
|
||||
|
||||
def _process_provider_segment(self, segment):
|
||||
network_type = self._get_attribute(segment, provider.NETWORK_TYPE)
|
||||
|
||||
Reference in New Issue
Block a user