You can use res.keepAlive()
to keep the connector from closing the connection. I think the timeout is actually 3 minutes for all operations. If you have a longer running web request, you can even use the setTimout
function to call the res.keepAlive()
method asynchronously during the request call, just be careful when doing this as the connector could stay alive forever if you forget to stop calling the keepAlive()
method after the request completes. You can see the documentation on this here:
1 Like