fix(tenant-service): 私有部署"一键更新"因异步请求超时半途失败
一键更新/重置接口用 StreamingResponseBody 长连接执行 docker pull + 重建容器, docker pull 大镜像耗时经常超过 Tomcat 默认 30s 异步超时,导致处理线程被 InterruptedException 中断,更新流程半途而废(例如 pull tenant-web 卡住后 整个流程直接失败退出)。禁用该接口所在服务的异步请求超时。 Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
这个提交包含在:
父节点
cee8d8ba61
当前提交
2937fb7cfb
@ -4,6 +4,12 @@ server:
|
|||||||
spring:
|
spring:
|
||||||
application:
|
application:
|
||||||
name: tenant-service
|
name: tenant-service
|
||||||
|
mvc:
|
||||||
|
async:
|
||||||
|
# 一键更新/重置接口用 StreamingResponseBody 长连接跑 docker pull + 重建容器,
|
||||||
|
# 单个大镜像拉取常常超过 Tomcat 默认 30s 异步超时,导致 Process.waitFor()
|
||||||
|
# 被 InterruptedException 中断、更新流程半途失败。这里禁用超时(-1)。
|
||||||
|
request-timeout: -1
|
||||||
datasource:
|
datasource:
|
||||||
url: jdbc:mysql://39.107.53.187:3306/xuqm_tenant?useUnicode=true&characterEncoding=utf8&useSSL=true&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true
|
url: jdbc:mysql://39.107.53.187:3306/xuqm_tenant?useUnicode=true&characterEncoding=utf8&useSSL=true&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true
|
||||||
username: xuqm
|
username: xuqm
|
||||||
|
|||||||
正在加载...
在新工单中引用
屏蔽一个用户