From 9f38398ca594afc4870b490970f412a78c0949bd Mon Sep 17 00:00:00 2001 From: Jikun <36817715+cjk7989@users.noreply.github.com> Date: Thu, 2 Nov 2023 14:46:48 +0800 Subject: [PATCH] chore: remove warning logs of wait-on for proxy (#764) --- src/msha/middlewares/request.middleware.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/msha/middlewares/request.middleware.ts b/src/msha/middlewares/request.middleware.ts index 56ebabf5..91257791 100644 --- a/src/msha/middlewares/request.middleware.ts +++ b/src/msha/middlewares/request.middleware.ts @@ -112,8 +112,6 @@ async function serveStaticOrProxyResponse(req: http.IncomingMessage, res: http.S interval: 100, // poll interval in ms, default 250ms simultaneous: 1, // limit to 1 connection per resource at a time timeout: 60000, // timeout in ms, default Infinity - tcpTimeout: 1000, // tcp timeout in ms, default 300ms - window: 1000, // stabilization time in ms, default 750ms strictSSL: false, verbose: false, // force disable verbose logs even if SWA_CLI_DEBUG is enabled }) @@ -123,7 +121,6 @@ async function serveStaticOrProxyResponse(req: http.IncomingMessage, res: http.S }) .catch((err) => { logger.silly(`Could not connect to ${resource}`); - logger.warn(err.message); throw err; }); });