Express Response Settimeout

app.use(function(req, res, next){
  	// Default is 2 minutes
    req.setTimeout(500000 /* in ms */, function(){
        // call back function is called when request timed out.
    });

    next();
});
florinrelea