mirror of
https://github.com/denoland/deno.git
synced 2025-08-31 07:47:46 +00:00
fix(node/http): export globalAgent (#21081)
Fixes #21080 Fixes #18312 --------- Signed-off-by: Jacob Hummer <jcbhmr@outlook.com>
This commit is contained in:
parent
eff3e43296
commit
b2e3389a6a
3 changed files with 27 additions and 1 deletions
|
@ -104,7 +104,7 @@ export class Agent extends HttpAgent {
|
|||
}
|
||||
}
|
||||
|
||||
const globalAgent = new Agent({
|
||||
export const globalAgent = new Agent({
|
||||
keepAlive: true,
|
||||
scheduling: "lifo",
|
||||
timeout: 5000,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue