Thursday, 15 August 2013

node.js request timing out early

node.js request timing out early

My express.js requests seem to time out early. I have
var app = express();
app.post('/something', function(req, res) {
req.connection.setTimeout(30 * 1000);
some_handler(req, res);
});
I'm still in the development stage, but the request seems to timeout well
before 30s. Is there any way I can force the browser to wait around for
the response?
Thanks

No comments:

Post a Comment