fix(node/http): export globalAgent (#21081)

Fixes #21080 
Fixes #18312

---------

Signed-off-by: Jacob Hummer <jcbhmr@outlook.com>
This commit is contained in:
Jacob Hummer 2023-11-10 22:43:30 -06:00 committed by GitHub
parent eff3e43296
commit b2e3389a6a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 27 additions and 1 deletions

View file

@ -104,7 +104,7 @@ export class Agent extends HttpAgent {
}
}
const globalAgent = new Agent({
export const globalAgent = new Agent({
keepAlive: true,
scheduling: "lifo",
timeout: 5000,