What happens if we reach the message limit?

Hello, just a quick question I can't find the answer on the web: what happens if we reach the messages limit per room?
Because I send in the update raiseevent without controlling the send rate (only for test) and I get time out error. I was wondering if it was the cause.
Thank you

Best Answers

  • JohnTube
    JohnTube ✭✭✭✭✭
    Answer ✓
    Hi @antigode,

    Going beyond the 500 messages per room per second has no direct relation with disconnects.
    It's a soft limit so by default nothing happens when you exceed it.

    Read about disconnects here, maybe you ran into a situation where you overflow the server's peer buffer so the server disconnected the peer.

Answers

  • JohnTube
    JohnTube ✭✭✭✭✭
    Answer ✓
    Hi @antigode,

    Going beyond the 500 messages per room per second has no direct relation with disconnects.
    It's a soft limit so by default nothing happens when you exceed it.

    Read about disconnects here, maybe you ran into a situation where you overflow the server's peer buffer so the server disconnected the peer.
  • Yeah I read about this article before my post and I kept this overflow idea in mind. I just didn't see anything on this page about what happens when the 500msg limit is reached, maybe I missed it (?) thank you for your response!