mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-12 04:16:51 +08:00
延长 Spring Boot 异步请求超时
This commit is contained in:
@@ -135,7 +135,7 @@ boe:
|
|||||||
ok:
|
ok:
|
||||||
http:
|
http:
|
||||||
connect-timeout: 30
|
connect-timeout: 30
|
||||||
read-timeout: 30
|
read-timeout: 300
|
||||||
write-timeout: 300
|
write-timeout: 300
|
||||||
max-idle-connections: 200
|
max-idle-connections: 200
|
||||||
keep-alive-duration: 300
|
keep-alive-duration: 300
|
||||||
|
|||||||
@@ -15,6 +15,8 @@ spring:
|
|||||||
time-zone: GMT+8
|
time-zone: GMT+8
|
||||||
mvc:
|
mvc:
|
||||||
static-path-pattern: /cdn/**
|
static-path-pattern: /cdn/**
|
||||||
|
async:
|
||||||
|
request-timeout: 600000
|
||||||
jpa:
|
jpa:
|
||||||
database: MYSQL
|
database: MYSQL
|
||||||
show-sql: false
|
show-sql: false
|
||||||
@@ -44,7 +46,7 @@ server:
|
|||||||
ok:
|
ok:
|
||||||
http:
|
http:
|
||||||
connect-timeout: 30
|
connect-timeout: 30
|
||||||
read-timeout: 30
|
read-timeout: 300
|
||||||
write-timeout: 300
|
write-timeout: 300
|
||||||
max-idle-connections: 200
|
max-idle-connections: 200
|
||||||
keep-alive-duration: 300
|
keep-alive-duration: 300
|
||||||
|
|||||||
Reference in New Issue
Block a user