commit 858353394dd15101ebcb1c4b39e672bc4aa2bd86
Author: Jie Li <email address hidden>
Date: Wed Mar 4 15:42:13 2015 +0800
Fix _poll_connection not timeout issue (1/2)
_poll_connection could fall into a loop waiting for a reply message, if
rabbit dies and up. This commit will set up a rpc_response_timeout timer
for one connection polling; so the rpc will finally jump out with a
timeout exception which is expected in such scenario.
Related bug: #1338732
The title of the commit in master was:
rabbit: more precise iterconsume timeout
but this was changed since it didn't describe the actual change.
This commit resolved some conflicts due to cherry-pick.
Change-Id: I157dab80cdb4afcf9a5f26fa900f96f0696db502
(cherry picked from commit 023b7f44e2ccd77a7e9ee9ee78431a4646c88f13)
Reviewed: https:/ /review. openstack. org/161119 /git.openstack. org/cgit/ openstack/ oslo.messaging/ commit/ ?id=858353394dd 15101ebcb1c4b39 e672bc4aa2bd86
Committed: https:/
Submitter: Jenkins
Branch: stable/juno
commit 858353394dd1510 1ebcb1c4b39e672 bc4aa2bd86
Author: Jie Li <email address hidden>
Date: Wed Mar 4 15:42:13 2015 +0800
Fix _poll_connection not timeout issue (1/2)
_poll_ connection could fall into a loop waiting for a reply message, if timeout timer
rabbit dies and up. This commit will set up a rpc_response_
for one connection polling; so the rpc will finally jump out with a
timeout exception which is expected in such scenario.
Related bug: #1338732
The title of the commit in master was:
rabbit: more precise iterconsume timeout
but this was changed since it didn't describe the actual change.
This commit resolved some conflicts due to cherry-pick.
Change-Id: I157dab80cdb4af cf9a5f26fa900f9 6f0696db502 a7e9ee9ee78431a 4646c88f13)
(cherry picked from commit 023b7f44e2ccd77