diff --git a/tenant-service/src/main/resources/application.yml b/tenant-service/src/main/resources/application.yml index 7913095..1c7a673 100644 --- a/tenant-service/src/main/resources/application.yml +++ b/tenant-service/src/main/resources/application.yml @@ -4,6 +4,12 @@ server: spring: application: name: tenant-service + mvc: + async: + # 一键更新/重置接口用 StreamingResponseBody 长连接跑 docker pull + 重建容器, + # 单个大镜像拉取常常超过 Tomcat 默认 30s 异步超时,导致 Process.waitFor() + # 被 InterruptedException 中断、更新流程半途失败。这里禁用超时(-1)。 + request-timeout: -1 datasource: url: jdbc:mysql://39.107.53.187:3306/xuqm_tenant?useUnicode=true&characterEncoding=utf8&useSSL=true&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true username: xuqm