kaiyu
2021-05-13 e05adb8da62b72798fe273454d51bb36b2ee72de
screen-api/src/main/resources/application-dev.yml
@@ -2,13 +2,13 @@
  port: 8081
  tomcat:
    uri-encoding: UTF-8
      #最小线程数
    #最小线程数
    min-spare-threads: 500
      #最大线程数
    #最大线程数
    max-threads: 2500
      #最大链接数
    #最大链接数
    max-connections: 6500
      #最大等待队列长度
    #最大等待队列长度
    accept-count: 1000
spring:
  profiles:
@@ -17,12 +17,12 @@
    name: screen-api
  redis:
    #cluster:
      #nodes: 47.112.126.78:7001,47.112.126.78:7002,47.112.126.132:7003,47.112.126.132:7004,47.112.132.193:7005,47.112.132.193:7006
    #nodes: 47.112.126.78:7001,47.112.126.78:7002,47.112.126.132:7003,47.112.126.132:7004,47.112.132.193:7005,47.112.132.193:7006
    #password: test
    #timeout: 500
      host: 127.0.0.1
      host: 39.97.177.149
      port: 6379
      password: 123456
      password: chenkaiyu111
      timeout: 30000
      jedis:
        pool:
@@ -36,6 +36,18 @@
          max-idle: 64
          max-wait: 30000
          min-idle: 32
  tokenRedis:
    host: 39.97.177.149
    port: 6379
    password: chenkaiyu111
    timeout: 30000
    database: 15
    pool:
      max-active: 256
      max-wait: 30000
      max-idle: 64
      min-idle: 32
  datasource:
    minIdle: 1
    time-between-eviction-runs-millis: 60000
@@ -45,8 +57,9 @@
    filters: stat
    type: com.alibaba.druid.pool.DruidDataSource
    max-wait: 60000
    url: jdbc:mysql://localhost:3306/test?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=UTC
    password: 123456
    url: jdbc:mysql://39.97.177.149:3306/moral?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
    username: root
    password: chenkaiyu111
    test-on-borrow: false
    sql-script-encoding: utf-8
    pool-prepared-statements: true
@@ -55,7 +68,6 @@
    driver-class-name: com.mysql.cj.jdbc.Driver
    max-conn-lifetime-millis: 20
    test-on-return: false
    username: root
mybatis-plus:
  mapper-locations: classpath:mapper/*.xml
@@ -65,9 +77,9 @@
      field-strategy: NOT_EMPTY
      db-type: MYSQL
  configuration:
     map-underscore-to-camel-case: true
     call-setters-on-nulls: true
     log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
    map-underscore-to-camel-case: true
    call-setters-on-nulls: true
    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
kafka:
  listener:
@@ -84,7 +96,7 @@
        commit: false
    group:
      id: test
    servers: 192.168.0.16:9092,192.168.0.17:9092,192.168.0.18:9092
    servers: 192.168.0.191:9092
    session:
      timeout: 6000
    topic: test_topic
@@ -98,4 +110,13 @@
    linger: 1
    retries: 0
    servers: 192.168.0.16:9092,192.168.0.17:9092,192.168.0.18:9092
mvc:
  interceptor:
    exclude:
      - /account/login
AES:
  KEY:
    AD42F7787B035B7580000EF93BE20BAD
TOKEN:
  KEY:
    foh3wi2ooghiCh5