From 694d59a229e64662419e85bf301b4dd2275be36c Mon Sep 17 00:00:00 2001 From: Choi JunHo Date: Wed, 6 Nov 2024 01:03:32 +0900 Subject: [PATCH] refactor: axios timeout setting plus --- src/utils/axios.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/axios.ts b/src/utils/axios.ts index 813a9e6..c29182e 100644 --- a/src/utils/axios.ts +++ b/src/utils/axios.ts @@ -2,12 +2,12 @@ import axios from 'axios'; export const llm_axiosInstance = axios.create({ baseURL: process.env.REACT_APP_LLM_SERVER_API_ADDRESS, - timeout: 20000, + timeout: 200000, withCredentials: false, }); export const server_axiosInstance = axios.create({ baseURL: process.env.REACT_APP_SPRING_SERVER_API_ADDRESS, - timeout: 20000, + timeout: 200000, withCredentials: true, });