longer timeout when requesting metadata

This commit is contained in:
tknew2 2014-10-09 14:18:43 +02:00
parent 3c42ea4208
commit 8c6af24ebc

View File

@ -26,7 +26,7 @@ HttpRequest.post = function(opts, cb) {
var timeout = setTimeout(function() {
cb({msg : 'Connection timed out ' + opts.url, success:false});
}, 3000);
}, 7000);
var req = client.request(options, function(res){
var dt = '';