What is the default timeout for Apigee Microgateway?

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-m...

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,

Solved Solved
1 1 505
1 ACCEPTED SOLUTION

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

View solution in original post

1 REPLY 1

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