Merge lp:~soren/nova/rpc-call-concurrency into lp:~hudson-openstack/nova/trunk
|Approved by:||Devin Carlen on 2011-02-11|
|Merged at revision:||664|
|Diff against target:||
39 lines (+4/-4)
1 file modified
|To merge this branch:||bzr merge lp:~soren/nova/rpc-call-concurrency|
Create a new AMQP connection by default.
Description of the Change
It turns out that rpc.call has the same problem as rpc.cast. This time I saw it
when two clients attempted to call GetConsoleOutput at the same time.
I changed new's default to True and changed everywhere else to rely on the default.
I left the code implementing the singleton in, so that if we switch to another amqp
library that deals better with this, we can just change the default again.