Skip to content

Commit

Permalink
🔧 修改配置文件, nacos 数据源链接超时时间优化
Browse files Browse the repository at this point in the history
  • Loading branch information
lbw committed Jan 28, 2024
1 parent b58d5ab commit f1cb9f8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pig-register/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ db:
password: ${MYSQL_PWD:root}
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

pool:
config:
connectionTimeout: 30000
validationTimeout: 10000

nacos:
core:
Expand Down

0 comments on commit f1cb9f8

Please sign in to comment.