fix(core): update
This commit is contained in:
parent
55c80c1403
commit
284f4967f4
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user