Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Is there some way to set a timeout for NodeJS backend server ?

We connect to a NodeJS backend server from our API Proxy. We have set a timeout value of 55 seconds in MP's http.properties (HTTPTransport.io.timeout.millis=55000). But we don't see the timeout occurring even though NodeJS backend takes more than 55 seconds to respond back. I think the timeout (HTTPTransport.io.timeout.millis) is good only for http/https backend servers. Can you please let me know if there's some other way to set the timeout value for NodeJS backend servers ?

1 2 1,295
2 REPLIES 2
Top Solution Authors