Skip to content

Polling request taking on average 25 seconds to respond 200 status #4606

Answered by darrachequesne
codertushar asked this question in Q&A
Discussion options

You must be logged in to vote

Hi! That's how HTTP long-polling works: the server keeps the HTTP request open until it has some data to send to the client.

25 seconds is the default value for the heartbeat (which periodically checks the status of the connection).

References:

Replies: 2 comments 2 replies

Comment options

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

Answer selected by codertushar
Comment options

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants