[skip-changelog] Pluggable monitor fix and refactor (#1482)
* Fixed race condition in pluggable monitor Many methods had the stateLock held for the entire scope of the function call but the 'port_closed' message can be received at any moment, asyncronously, and it requires a stateLock as well. In this case the worst case is that the decode loop is blocked for 10 seconds until the timeout occurs, but this is not ideal. This bug has been fixed by removing the state, since it's not really useful. * Improved message logging in pluggable monitor * Refactored message processing in pluggable monitor * Fix i18n * fixed lint suggestion * fix from code review
Showing
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
Please register or sign in to comment