mirror of
https://github.com/Unitech/pm2.git
synced 2025-12-08 20:35:53 +00:00
longer timeout when requesting metadata
This commit is contained in:
parent
3c42ea4208
commit
8c6af24ebc
@ -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 = '';
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user