spring: application: name: game config: activate: on-profile: test aop: auto: true proxy-target-class: true pid: file: pid #pid文件名 redis: host: 127.0.0.1 port: 6379 password: maxTotal: 128 poolMaxWaitMs: 50 timeOutMs: 100 datasource: game: type: com.zaxxer.hikari.HikariDataSource jdbcUrl: jdbc:mysql://rm-2vc832n05ilv92q61.mysql.cn-chengdu.rds.aliyuncs.com:3306/game?autoReconnect=true&useUnicode=true&characterEncoding=utf-8&connectTimeout=300&socketTimeout=2000&serverTimezone=Hongkong&zeroDateTimeBehavior=convertToNull username: game password: Vd12luSjmwAXuwDH connectionTimeout: 300 maximumPoolSize: 5 minimumIdle: 1 idleTimeout: 600000 #This property controls the maximum amount of time that a connection is allowed to sit idle in the pool maxLifetime: 3600000 #This property controls the maximum lifetime of a connection in the pool mybatis-plus: configuration: map-underscore-to-camel-case: true #数据库字段下划线映射java对象属性用驼峰命名 server: port: 8000 tomcat: connection-timeout: 60000 #Time in milliseconds that connectors will wait for another HTTP request before closing the connection. accept-count: 100 # Maximum queue length for incoming connection requests when all possible request processing threads are in use. max-connections: 256 # Maximum number of connections that the server will accept and process at any given time. threads: max: 16 min-spare: 4 servlet: encoding: enabled: true charset: utf-8