You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But I don't think that makes a difference. Obviously it will eventually give up at the end of the timeout, but due to the nature of the call, it's unreasonable to tighten the timeout and give up early.
Actual Result
This code hangs until the future times out.
Expected Result
An exception to be raised, something like a ConnectionLost, if it becomes impossible to receive a response. (Maybe the right terminology is: if there are no more subscribers?)
Environment
lahja v0.14.0
How can it be fixed?
🤷♂️
The text was updated successfully, but these errors were encountered:
carver
changed the title
endpoint.request should raise when a result is no longer possible
endpoint.request() should raise when a result is no longer possible
Jun 13, 2019
What was wrong?
Code that produced the error
I have some code that hangs when the other endpoint disconnects:
Note: this happens inside of a:
But I don't think that makes a difference. Obviously it will eventually give up at the end of the timeout, but due to the nature of the call, it's unreasonable to tighten the timeout and give up early.
Actual Result
This code hangs until the future times out.
Expected Result
An exception to be raised, something like a
ConnectionLost
, if it becomes impossible to receive a response. (Maybe the right terminology is: if there are no more subscribers?)Environment
lahja v0.14.0
How can it be fixed?
🤷♂️
The text was updated successfully, but these errors were encountered: