Skip to content
This repository was archived by the owner on Jul 8, 2022. It is now read-only.

Conversation

@bourtemb
Copy link
Member

API_AsynReplyNotArrived exception was wrongly thrown when asyn call
response was received in the last 20ms before the call timeout expiration.

API_AsynReplyNotArrived exception was wrongly thrown when asyn call
response was received in the last 20ms before the call timeout expiration.
@Ingvord
Copy link
Member

Ingvord commented Oct 28, 2016

Please use "close #" in PR comment or commit to allow GitHub automatically close corresponding issues.

ApiAsynNotThereExcept::throw_exception(API_AsynReplyNotArrived,
desc.str(),
"Connection::command_inout_reply");
if (req.request->poll_response() == false)
Copy link
Member

@Ingvord Ingvord Oct 28, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nested if can be moved to outer, i.e.


if(i == nb && !req.request->poll_response())

Copy link
Member

@Ingvord Ingvord left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See inline comment

Copy link
Member

@Ingvord Ingvord left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like other similar change requests from the first commit are missing here

Copy link
Member

@Ingvord Ingvord left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks OK to me now

@Ingvord Ingvord merged commit 240f01d into tango-controls:master Nov 2, 2016
@bourtemb bourtemb deleted the API_AsynReplyNotArrived_issue235 branch November 2, 2016 10:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants