Browse Source

[Feature][UI][V1.0.0-Beta] Modify timeout from 10s to 15s of axios (#9644)

3.0.0/version-upgrade
Devosend 2 years ago committed by GitHub
parent
commit
58c7e5aa08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      dolphinscheduler-ui-next/src/service/service.ts

2
dolphinscheduler-ui-next/src/service/service.ts

@ -43,7 +43,7 @@ const baseRequestConfig: AxiosRequestConfig = {
import.meta.env.MODE === 'development'
? '/dolphinscheduler'
: import.meta.env.VITE_APP_PROD_WEB_URL + '/dolphinscheduler',
timeout: 10000,
timeout: 15000,
transformRequest: (params) => {
if (_.isPlainObject(params)) {
return qs.stringify(params, { arrayFormat: 'repeat' })

Loading…
Cancel
Save