From 1e08ec18c6b5931d24311894d96a806aa629e6fa Mon Sep 17 00:00:00 2001 From: Franklin van de Meent Date: Tue, 16 Jul 2013 19:21:30 +0200 Subject: [PATCH] Reduced request timeout to 5 seconds (#6) --- youtube-feeds.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube-feeds.js b/youtube-feeds.js index 999b6ae..de63eb7 100644 --- a/youtube-feeds.js +++ b/youtube-feeds.js @@ -36,7 +36,7 @@ var xml2json = require('node-xml2json'), var app = { httpProtocol: 'http', // http, https - timeout: 30000, // max execution time in milliseconds + timeout: 5000, // max execution time in milliseconds developerKey: null // YouTube developer key }