Polling request taking on average 25 seconds to respond 200 status #4606
-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
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: |
Beta Was this translation helpful? Give feedback.
-
@darrachequesne One more question, I have: why do some polling requests take a maximum of around 45 seconds or so? This is a chart for max_duration a request took to respond: Also, I noticed, some are taking hours even, what could be a possible theory?: |
Beta Was this translation helpful? Give feedback.
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: