| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- server:
- port: 8083
- session:
- timeout: 1440m
- servlet:
- context-path: /av_ja
- tomcat:
- uri-encoding: UTF-8
- max-threads: 1000
- max-http-header-size: 102400
- spring:
- application:
- name: transcoding
- main:
- allow-circular-references: true
- datasource:
- username: root
- password: UUtfNu3jVQy3ZA@#
- # username: root
- # password: 123456
- url: jdbc:mysql://localhost:3306/video_wzsz?characterEncoding=UTF-8&useSSL=false&useUnicode=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
- driver-class-name: com.mysql.cj.jdbc.Driver
- #spring官方推荐 性能最强,没有之一
- hikari:
- pool-name: Retail_HikariCP
- minimum-idle: 5 #最小空闲连接数量
- idle-timeout: 30000 #空闲连接存活最大时间,默认600000(10分钟)
- maximum-pool-size: 10 #连接池最大连接数,默认是10
- auto-commit: true #此属性控制从池返回的连接的默认自动提交行为,默认值:true
- max-lifetime: 120000 #此属性控制池中连接的最长生命周期,值0表示无限生命周期,默认1800000即30分钟
- connection-timeout: 30000 #数据库连接超时时间,默认30秒,即30000
- connection-test-query: SELECT 1
- jackson:
- date-format: yyyy-MM-dd HH:mm:ss
- time-zone: GMT+8
- # default-property-inclusion: non_null
- devtools:
- restart:
- enabled: true
- additional-paths: src/main/java
- #分页pageHelper
- pagehelper:
- helperDialect: mysql
- reasonable: true #为了使用输入页数为负或者超出最大页时候使页数为最小或最大值
- supportMethodsArguments: true
- params: count=countSql
- pageSizeZero: true
- mybatis-plus:
- # spring boot集成mybatis的方式打印sql
- configuration:
- # log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
- #关闭sql打印
- log-impl: org.apache.ibatis.logging.nologging.NoLoggingImpl
- myapp:
- mypre: VIDEO
|