In Express.js, by making some HTTP GET requests, if the operation on the server takes more than 5 seconds, it sends an error: "ETIMEDOUT" (status 200).
How can I solve this?
I tried to use connect-timeout middleware:
var longTimeout = require('connect-timeout')({ time: 20000 })
but without result.