42wim / matterircd

Connect to your mattermost or slack using your IRC-client of choice.
MIT License
294 stars 60 forks source link

Use unbuffered channels to avoid out-of-order msgs. Fixes #426 #427

Closed hloeung closed 3 years ago

hloeung commented 3 years ago

IIUC, and per https://stackoverflow.com/a/25795236, the issue with out-of-order messages is due to switching to using buffered channels in https://github.com/42wim/matterircd/pull/383.

hloeung commented 3 years ago

@hloeung , is this working as the fix for the out-of-order messages for you? I might try it...not sure if it helped in your case

Yeah, I'm currently running with this fix and haven't seen out-of-order messages yet.