fix(core): update
This commit is contained in:
parent
b09598d465
commit
b00d674b6f
@ -66,8 +66,9 @@ const httpAgent = new plugins.http.Agent({
|
|||||||
* a custom http agent to make sure we can set custom keepAlive options for speedy subsequent calls
|
* a custom http agent to make sure we can set custom keepAlive options for speedy subsequent calls
|
||||||
*/
|
*/
|
||||||
const httpAgentKeepAliveFalse = new plugins.http.Agent({
|
const httpAgentKeepAliveFalse = new plugins.http.Agent({
|
||||||
|
maxFreeSockets: 0,
|
||||||
keepAlive: false,
|
keepAlive: false,
|
||||||
keepAliveMsecs: 600000
|
keepAliveMsecs: 0
|
||||||
});
|
});
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -82,8 +83,9 @@ const httpsAgent = new plugins.https.Agent({
|
|||||||
* a custom https agent to make sure we can set custom keepAlive options for speedy subsequent calls
|
* a custom https agent to make sure we can set custom keepAlive options for speedy subsequent calls
|
||||||
*/
|
*/
|
||||||
const httpsAgentKeepAliveFalse = new plugins.https.Agent({
|
const httpsAgentKeepAliveFalse = new plugins.https.Agent({
|
||||||
|
maxFreeSockets: 0,
|
||||||
keepAlive: false,
|
keepAlive: false,
|
||||||
keepAliveMsecs: 600000
|
keepAliveMsecs: 0
|
||||||
});
|
});
|
||||||
|
|
||||||
export let request = async (
|
export let request = async (
|
||||||
|
Loading…
Reference in New Issue
Block a user