Rammbock
Rammbock copied to clipboard
Long timeout in receiving can prevent the background handling from other message streams
Receiving with timeout goes to a synchronized block. If the timeout is longer than the poll interval for background handlers, this can cause the other message streams to not get the lock during this time and they can not handle their background messages.
The receiving of protocol headers in MessageStream should be done so that other message streams either can operate at the same time, or can get the lock periodically.
Is there a work around for this bug ? I believe I am facing this issue of tests stuck for long time.
@niravsh , this fix should help you.