From efb2bc4b8f4bb3b955467404a427728617505c19 Mon Sep 17 00:00:00 2001 From: Sha Zhou Date: Tue, 17 Jun 2025 17:20:27 +0800 Subject: [PATCH] update axios config --- src/utils/axios-client.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/axios-client.ts b/src/utils/axios-client.ts index 29a617c..7bc2d2b 100644 --- a/src/utils/axios-client.ts +++ b/src/utils/axios-client.ts @@ -11,10 +11,10 @@ const MAX_CONTENT_LENGTH = 10 * 1024 * 1024; const MAX_REDIRECTS = 5; // Maximum number of sockets to keep open -const MAX_SOCKETS = 50; +const MAX_SOCKETS = 200; // Maximum number of free sockets to keep open -const MAX_FREE_SOCKETS = 10; +const MAX_FREE_SOCKETS = 50; // Keep-alive timeout in milliseconds const KEEP_ALIVE_TIMEOUT = 30000;