document req timeout

pull/117/merge
Fabian Jakobs 2015-05-29 08:50:49 +00:00
rodzic aac904b65e
commit 60360f8598
1 zmienionych plików z 5 dodań i 0 usunięć

5
node_modules/c9/request_timeout.js wygenerowano vendored
Wyświetl plik

@ -1,3 +1,8 @@
/**
* the default response timeout in node.js is 2min. If a request takes longer
* to process then it needs to be increased
*/
module.exports = function(timeout) {
return function(req, res, next) {
req.setTimeout(timeout);