kopia lustrzana https://github.com/c9/core
rodzic
c1147c068e
commit
78f2824cc3
|
@ -44,7 +44,11 @@ function RestClient(host, port, config) {
|
|||
port: port,
|
||||
path: path,
|
||||
method: method,
|
||||
headers: headers
|
||||
headers: headers,
|
||||
timeout: config.timeout || 60 * 1000,
|
||||
pool: config.pool || {
|
||||
maxSockets: 100000,
|
||||
},
|
||||
};
|
||||
if (config.username)
|
||||
options.auth = config.username + ":" + config.password;
|
||||
|
|
Ładowanie…
Reference in New Issue