diff options
| author | Russell Bryant <rbryant@redhat.com> | 2012-02-07 22:31:27 -0500 |
|---|---|---|
| committer | Russell Bryant <rbryant@redhat.com> | 2012-02-08 12:21:01 -0500 |
| commit | e0efd7551d0d4e1c23111419f0622a1994601fda (patch) | |
| tree | f41e1e8e269b6cc12b986a4ab4d5d6768d6d7519 /nova/openstack | |
| parent | 27ac9d5f0ca4279753ee2984769094f2b4191619 (diff) | |
| download | nova-e0efd7551d0d4e1c23111419f0622a1994601fda.tar.gz nova-e0efd7551d0d4e1c23111419f0622a1994601fda.tar.xz nova-e0efd7551d0d4e1c23111419f0622a1994601fda.zip | |
Move connection pool back into impl_kombu/qpid.
Fix bug 928996.
This patch moves the creation of the connection pool from nova.rpc.amqp
back into nova.rpc.impl_kombu and nova.rpc.impl_qpid. The pool now gets
passed into nova.rpc.amqp using arguments as needed.
The previous method worked fine unless both rpc implementations got
loaded into the same Python instance. In that case, whichever one got
loaded 2nd had control over what type of connections nova.rpc.amqp would
create. With these changes in place, this conflict between impl_kombu
and impl_qpid is resolved.
Change-Id: I72bc0c95bfc04ccdfb89d3456332f622ca5ffa42
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions
