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
This looked dangerous to me, so I added error logging to the default: case (failed to send), and sure enough, I was actually running into this. If consumer (let's say Steward) is processing an existing message and therefore is not waiting to receive, inbound frames are silently dropped on the floor.
Easy solution is to make this channel buffered, perhaps 10 or 100 frames.
The text was updated successfully, but these errors were encountered:
asyncInbound
is an unbuffered channel, and this line is using non-blocking send:znp-go/processor.go
Line 179 in 69131cf
This looked dangerous to me, so I added error logging to the
default:
case (failed to send), and sure enough, I was actually running into this. If consumer (let's say Steward) is processing an existing message and therefore is not waiting to receive, inbound frames are silently dropped on the floor.Easy solution is to make this channel buffered, perhaps 10 or 100 frames.
The text was updated successfully, but these errors were encountered: