[KYUUBI #6428] kyuubi-server/web-ui should not to set a timeout for axios requests

# 🔍 Description
## Issue References 🔗

This pull request fixes #6428

## Describe Your Solution 🔧

Remove axios request timeout limitation.

## Types of changes 🔖

- [x] Bugfix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)

## Test Plan 🧪

#### Behavior Without This Pull Request ⚰️

Ref to #6428 description.

#### Behavior With This Pull Request 🎉

Get result after a period of time.

#### Related Unit Tests

kyuubi-server/web-ui: `pnpm test` all passed.

---

# Checklist 📝

- [ ] This patch was not authored or co-authored using [Generative Tooling](https://www.apache.org/legal/generative-tooling.html)

**Be nice. Be informative.**

Closes #6429 from zRains/remove-axios-timeout.

Closes #6428

e947deabe [zRain] fix: remove timeout

Authored-by: zRain <2296342883@qq.com>
Signed-off-by: Cheng Pan <chengpan@apache.org>
This commit is contained in:
zRain 2024-05-30 12:07:53 +08:00 committed by Cheng Pan
parent 1e08064123
commit 471237be92
No known key found for this signature in database
GPG Key ID: 8001952629BCC75D

View File

@ -20,9 +20,8 @@ import { useAuthStore } from '@/pinia/auth/auth'
// create an axios instance
const service = axios.create({
baseURL: '/', // url = base url + request url
baseURL: '/' // url = base url + request url
// withCredentials: true, // send cookies when cross-domain requests
timeout: 60000 // request timeout
})
// request interceptor