Skip to content

Do long polling requests from clients ever expire or stop attempting to connect #4847

Answered by darrachequesne
RyanAP1 asked this question in General
Discussion options

You must be logged in to vote

Hi!

The reconnectionAttempts option defaults to Infinity, so I think unfortunately those clients will try to reconnect forever.

Reference: https://socket.io/docs/v4/client-options/#reconnectionattempts

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@RyanAP1
Comment options

Answer selected by RyanAP1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants