brawl-chat icon indicating copy to clipboard operation
brawl-chat copied to clipboard

Messages are sent out of order

Open bwindels opened this issue 6 years ago • 4 comments

used to happen only after we got rate limited and we had to refresh. Recently I've seen it happen when only sending 2 messages in fresh page load.

bwindels avatar Nov 30 '19 13:11 bwindels

Might have something to do with the fact that we send multiple messages at once as long as we don't get rate-limited. We probably need to wait for the first one to be sent.

bwindels avatar Dec 05 '19 10:12 bwindels

haven't been able to repro, but m.org is a bit slow so not sure we actually get rate limited. we can try with a local server that is configured to rate limit quickly

bwindels avatar Mar 28 '20 23:03 bwindels

can try with a local server that is configured to rate limit quickly

did this and could not reproduce

bwindels avatar Mar 30 '20 18:03 bwindels

Might have something to do with the fact that we send multiple messages at once as long as we don't get rate-limited. We probably need to wait for the first one to be sent.

Checked the code btw, and can't see anything like this. All seems to be awaited well.

bwindels avatar Mar 30 '20 19:03 bwindels