[
https://issues.apache.org/jira/browse/PROTON-825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14334911#comment-14334911
]
ASF subversion and git services commented on PROTON-825:
--------------------------------------------------------
Commit 2f854430c1490aaaf7e5a9545921a42b8454cf68 in qpid-proton's branch
refs/heads/master from [~aconway]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-proton.git;h=2f85443 ]
PROTON-825: SyncRequestResponse should yield in on_message.
This is the replacement fix for the reverted commit:
1455f32 PROTON-825: Reactor should yield before quiescing.
Instead of changing the reactor process() logic, we call pn_reactor_yield
from on_message in the SyncRequestResponse handler.
> BlockingReceiver.receive() uses 100% CPU.
> -----------------------------------------
>
> Key: PROTON-825
> URL: https://issues.apache.org/jira/browse/PROTON-825
> Project: Qpid Proton
> Issue Type: Bug
> Components: python-binding
> Affects Versions: 0.9
> Environment: F20
> Built from master 2/19.
> Reporter: Jeff Ortel
> Assignee: Alan Conway
> Fix For: 0.9
>
>
> Calling BlockingReceiver.receive(timeout=10) blocks the caller for 10 seconds
> but uses 100% CPU.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)