From b2e3389a6aebe5378f49fa86391255f9fc8b0707 Mon Sep 17 00:00:00 2001 From: Jacob Hummer Date: Fri, 10 Nov 2023 22:43:30 -0600 Subject: fix(node/http): export globalAgent (#21081) Fixes #21080 Fixes #18312 --------- Signed-off-by: Jacob Hummer --- ext/node/polyfills/https.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/node/polyfills/https.ts') diff --git a/ext/node/polyfills/https.ts b/ext/node/polyfills/https.ts index 46d4bd087..6cd42f035 100644 --- a/ext/node/polyfills/https.ts +++ b/ext/node/polyfills/https.ts @@ -104,7 +104,7 @@ export class Agent extends HttpAgent { } } -const globalAgent = new Agent({ +export const globalAgent = new Agent({ keepAlive: true, scheduling: "lifo", timeout: 5000, -- cgit v1.2.3