From 6c601ec97c4f365853f43878dc0d1a4ff56a42b1 Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Tue, 25 Jun 2024 18:35:03 +0200 Subject: [PATCH] Update happy-eyeballs.ts --- packages/playwright-core/src/utils/happy-eyeballs.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/playwright-core/src/utils/happy-eyeballs.ts b/packages/playwright-core/src/utils/happy-eyeballs.ts index 27e40b4293..37d5c1b271 100644 --- a/packages/playwright-core/src/utils/happy-eyeballs.ts +++ b/packages/playwright-core/src/utils/happy-eyeballs.ts @@ -46,8 +46,8 @@ class HttpsHappyEyeballsAgent extends https.Agent { } // These options are aligned with the default Node.js globalAgent options. -export const httpsHappyEyeballsAgent = new HttpsHappyEyeballsAgent({ keepAlive: true, scheduling: 'lifo', timeout: 5000 }); -export const httpHappyEyeballsAgent = new HttpHappyEyeballsAgent({ keepAlive: true, scheduling: 'lifo', timeout: 5000 }); +export const httpsHappyEyeballsAgent = new HttpsHappyEyeballsAgent({ keepAlive: true }); +export const httpHappyEyeballsAgent = new HttpHappyEyeballsAgent({ keepAlive: true }); export async function createSocket(host: string, port: number): Promise { return new Promise((resolve, reject) => {