fix(core): update

This commit is contained in:
Philipp Kunz 2019-08-22 12:40:19 +02:00
parent 55c80c1403
commit 284f4967f4

View File

@ -54,11 +54,17 @@ const parseSocketPathAndRoute = (stringToParseArg: string) => {
}; };
}; };
/**
* a custom http agent to make sure we can set custom keepAlive options for speedy subsequent calls
*/
const httpAgent = new plugins.http.Agent({ const httpAgent = new plugins.http.Agent({
keepAlive: true, keepAlive: true,
keepAliveMsecs: 600000 keepAliveMsecs: 600000
}); });
/**
* a custom https agent to make sure we can set custom keepAlive options for speedy subsequent calls
*/
const httpsAgent = new plugins.https.Agent({ const httpsAgent = new plugins.https.Agent({
keepAlive: true, keepAlive: true,
keepAliveMsecs: 600000 keepAliveMsecs: 600000