云
12 小时以前 44e2f1b5d5265aa5b047deb26d0b2c8fab7ded84
config(request): 调整请求超时时间配置

- 将默认超时时间从 180 秒调整为 600 秒
- 以支持更长时间的请求处理需求
已修改1个文件
2 ■■■■■ 文件已修改
src/packages/effects/request/src/request-client/request-client.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/packages/effects/request/src/request-client/request-client.ts
@@ -63,7 +63,7 @@
      },
      responseReturn: 'raw',
      // 默认超时时间
      timeout: 180_000,
      timeout: 600_000,
      paramsSerializer: 'repeat',
    };
    const { ...axiosConfig } = options;