mirror of
https://gitee.com/log4j/pig.git
synced 2024-12-23 05:00:23 +08:00
🔧 修改配置文件, nacos 数据源链接超时时间优化
This commit is contained in:
parent
b58d5abfe6
commit
f1cb9f8eb2
@ -11,7 +11,10 @@ db:
|
|||||||
password: ${MYSQL_PWD:root}
|
password: ${MYSQL_PWD:root}
|
||||||
url:
|
url:
|
||||||
0: jdbc:mysql://${MYSQL_HOST:pig-mysql}:${MYSQL_PORT:3306}/${MYSQL_DB:pig_config}?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
|
0: jdbc:mysql://${MYSQL_HOST:pig-mysql}:${MYSQL_PORT:3306}/${MYSQL_DB:pig_config}?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
|
||||||
|
pool:
|
||||||
|
config:
|
||||||
|
connectionTimeout: 30000
|
||||||
|
validationTimeout: 10000
|
||||||
|
|
||||||
nacos:
|
nacos:
|
||||||
core:
|
core:
|
||||||
|
Loading…
Reference in New Issue
Block a user