Skip to content

Conversation

@NTillmann
Copy link

This addresses #77 by fixing a few bugs that I discovered (after adding a lot of custom logging to identify the root cause). It also adds a recovery mechanism if no response for a message is received within a minute.

Note how sendCmd inserts "None" instead of proper futures if waitForResponse=False. We need to safeguard against that.
Otherwise, an exception will be raised when attempting to cancel "None", and then we will not successfully stop, and not properly reconnect either.
trigger a call-back to responseReceived. Thus,
it's import to do any internal accounting, in
particular on self._out_pending, before that call.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant