I just notice that the long GET always happens when I miss a message.
I was able to test sending a message during a periodic reconnect, and it doesn't appear to be dropping any messages.
That tells me there is something extra that Messaging.unsubscribe() or Messaging.subscribe() is doing.
Adding a sleep on the server results in no loss of messages.
Therefore, it seems that the client is blocked for a moment.
I was able to test sending a message during a periodic reconnect, and it doesn't appear to be dropping any messages.
That tells me there is something extra that Messaging.unsubscribe() or Messaging.subscribe() is doing.
Adding a sleep on the server results in no loss of messages.
Therefore, it seems that the client is blocked for a moment.
Comment