代码拉取完成,页面将自动刷新
spring:
cloud:
consul:
discovery:
prefer-ip-address: true
instance-id: ${spring.application.name}:${spring.cloud.client.ip-address}:${server.port}
serviceName: ${spring.application.name}
healthCheckPath: /actuator/health
healthCheckInterval: 20s
circuitbreaker:
bulkhead:
resilience4j:
enabled: false
task:
execution:
pool:
max-size: 16
queue-capacity: 100
datasource:
url: jdbc:mariadb://${mysql.host}/demo?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8
username: ENC(RH87o9wQUk4fuDwVtBoSI1IfjFmvIIgt8Qc4AUyJXNNanm6/kT/cXDJ0arkFZfLI)
password: ENC(KMJd6ZIRiR5SMhS0HHQuwAGt5c/po+wEqkCAoWDCCA+4aVJ616cg9swa8BUUy9ji)
driver-class-name: org.mariadb.jdbc.Driver
hikari:
connection-test-query: select 1;
maximum-pool-size: 80
validation-timeout: 10000
data-source-properties:
cachePrepStmts: true
prepStmtCacheSize: 250
prepStmtCacheSqlLimit: 2048
useServerPrepStmts: true
useLocalSessionState: true
rewriteBatchedStatements: true
cacheResultSetMetadata: true
cacheServerConfiguration: true
elideSetAutoCommits: true
maintainTimeStats: false
server:
port: 7300 # 服务端口
shutdown: graceful
feign:
client:
config:
default:
connectTimeout: 10000
readTimeout: 10000
loggerLevel: basic
circuitbreaker:
enabled: true
logging:
config: classpath:log4j2-prod.xml
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。