Rammbock icon indicating copy to clipboard operation
Rammbock copied to clipboard

Long timeout in receiving can prevent the background handling from other message streams

Open jussimalinen opened this issue 10 years ago • 2 comments

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.

jussimalinen avatar Dec 01 '15 05:12 jussimalinen

Is there a work around for this bug ? I believe I am facing this issue of tests stuck for long time.

niravsh avatar Dec 22 '15 19:12 niravsh

@niravsh , this fix should help you.

vivektatipamula avatar Jan 15 '16 10:01 vivektatipamula