You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Basically, why do we need heartbeats at that time when messages are going back and forth through connection?
Currently, I've got a case when server generates number of messages on one incoming client message. During that response series server fails to send ping message which leads to disconnect after pingTimeout+pingInterval time.
Node.js event loop doesn't seem to be blocked because client can still reconnect and send initial connect message and receive response.
Why heartbeat messages aren't send? Am I missing something?
Thanks in advance.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Basically, why do we need heartbeats at that time when messages are going back and forth through connection?
Currently, I've got a case when server generates number of messages on one incoming client message. During that response series server fails to send ping message which leads to disconnect after pingTimeout+pingInterval time.
Node.js event loop doesn't seem to be blocked because client can still reconnect and send initial connect message and receive response.
Why heartbeat messages aren't send? Am I missing something?
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions