正在显示
1 个修改的文件
包含
14 行增加
和
4 行删除
| @@ -10,12 +10,22 @@ spring: | @@ -10,12 +10,22 @@ spring: | ||
| 10 | password: ZtbViC4jpH0gP6Ky | 10 | password: ZtbViC4jpH0gP6Ky |
| 11 | database: 5 | 11 | database: 5 |
| 12 | # 读超时 | 12 | # 读超时 |
| 13 | - timeout: 60000 | 13 | + timeout: 30000 |
| 14 | # 连接超时 | 14 | # 连接超时 |
| 15 | - connect-timeout: 60000 | 15 | + connect-timeout: 30000 |
| 16 | lettuce: | 16 | lettuce: |
| 17 | - shutdown-timeout: 60000 | ||
| 18 | - socket-timeout: 60000 | 17 | + pool: |
| 18 | + # 连接池最大连接数(使用负值表示没有限制) | ||
| 19 | + max-active: 8 | ||
| 20 | + # 连接池最大阻塞等待时间(使用负值表示没有限制) | ||
| 21 | + max-wait: -1 | ||
| 22 | + # 连接池中的最大空闲连接 | ||
| 23 | + max-idle: 8 | ||
| 24 | + # 连接池中的最小空闲连接 | ||
| 25 | + min-idle: 0 | ||
| 26 | + command-timeout: 30000 | ||
| 27 | + shutdown-timeout: 30000 | ||
| 28 | + socket-timeout: 30000 | ||
| 19 | rabbitmq: | 29 | rabbitmq: |
| 20 | host: 10.7.3.82 | 30 | host: 10.7.3.82 |
| 21 | port: 32212 | 31 | port: 32212 |
-
请 注册 或 登录 后发表评论