Skip to content


What happens if we do not set timeout in setting? #423

yalamber opened this Issue · 4 comments

5 participants


what happens if i do not put timeout , what is default time out interval?


If I'm not wrong, the default http client timeout value is 60 secs.


What if is a streaming?

"ACCEPT" : "text/event-stream"

Does the timeout applies? How does this works?


request member

default is implemented by core.

@mikeal mikeal closed this

Just stumbled on this now. Not sure about a year ago, but it looks like the Node.js native http library (which Request uses) actually specifies a default timeout of 120000 ms (or 2 minutes.)

Number Default = 120000 (2 minutes)
The number of milliseconds of inactivity before a socket is presumed to have timed out.

Note that the socket timeout logic is set up on connection, so changing this value only affects new connections to the server, not any existing connections.

Set to 0 to disable any kind of automatic timeout behavior on incoming connections.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.