Browse Source

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

Devosend 3 years ago
parent
commit
58c7e5aa08
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dolphinscheduler-ui-next/src/service/service.ts

+ 1 - 1
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' })