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
Hello!
I've used the approach similar to the proposed one here, but sometimes the connected peer is not being registered.
Seems like it happens because the StateMachine.hsNotifyc is created as unbuffered channel, and writes to this channel are non-blocking (select + default), thus "skipping" some notifications if the receiver is "slow".
Any suggestions how to make notifications reliable?
The text was updated successfully, but these errors were encountered:
Would it be a problem to make the hsNotifyc channel buffered? If there were no consumers, a few messages would remain in the channel, but that wouldn’t matter, would it?
Hello!
I've used the approach similar to the proposed one here, but sometimes the connected peer is not being registered.
Seems like it happens because the
StateMachine.hsNotifyc
is created as unbuffered channel, and writes to this channel are non-blocking (select + default), thus "skipping" some notifications if the receiver is "slow".Any suggestions how to make notifications reliable?
The text was updated successfully, but these errors were encountered: