4 ms·
Aye! Well aware. I actually think you added that for us specifically! Anyways, it's worth noting for anyone interested that they'll need to be able to handle sp
by jhgg 10y ago
Aye! Well aware. I actually think you added that for us specifically! Anyways, it's worth noting for anyone interested that they'll need to be able to handle spikey reconnects.
In our case, we keep a buffer of the last N websocket messages sent to the client, and when the client reconnects, it sends the last sequence id that the client saw, and the server catches it up.
https://discordapp.com/developers/docs/topics/gateway#resuming https://discordapp.com/developers/docs/topics/gateway#resumi...