I have a question regarding default timeout limit for microgateway.
If a request is made through Apigee Microgateway how long is it before the Microgateway considers the request expired if no response is received? i.e. 60 or 120 seconds.
I know there is an edgemicro attribute for setting request_timeout: https://docs.apigee.com/api-platform/microgateway/2.5.x/operation-and-configuration-reference-edge-microgateway#edgemicrogatewayconfigurationreference-edgemicroattributes
However, I haven't been able to find a default value within the code for microgateway itself.
Any help on this would be appreciated.
Thanks,
Answer by Mark Eccles · Jan 14 at 05:07 AM
When a timeout is set on a http request, it calls socket.setTimeout()
https://nodejs.org/docs/latest-v12.x/api/http.html#http_request_settimeout_timeout_callback
According to Node.JS Version 12, by default net.Socket
does not have a timeout.
https://nodejs.org/docs/latest-v12.x/api/net.html#net_socket_settimeout_timeout_callback