!3 新的微服务启动后路由信息入库失败问题优化

Merge pull request !3 from hzf/master
pull/3/MERGE
tanghc 4 years ago committed by Gitee
commit a360fe713a
  1. 3
      sop-gateway/src/main/resources/META-INF/gateway.properties

@ -18,6 +18,9 @@ spring.datasource.url=jdbc:mysql://${mysql.host}/sop?useUnicode=true&characterEn
spring.datasource.username=${mysql.username}
spring.datasource.password=${mysql.password}
#连接池
spring.datasource.hikari.pool-name=DatebookHikariCP
spring.datasource.hikari.max-lifetime=500000
spring.cloud.gateway.discovery.locator.lower-case-service-id=true
spring.cloud.gateway.discovery.locator.enabled=true

Loading…
Cancel
Save