郑永安
2023-08-23 41cb87d6749d744ddd4e21d1aa47bb363cf5678b
src/main/resources/application.yml
@@ -1,3 +1,4 @@
# mysql 多数据源
spring:
  application:
@@ -10,22 +11,21 @@
#    active: test-local
  #redis
  redis:
    database: 0
    host: 10.187.1.202
    port: 6379
    password: ZhongtaiRedis@103
    redisson:
      pool:
        max-active: 12
        min-idle: 6
    jedis:
      pool:
        max-idle: 8
        max-active: 8
        max-wait: -1ms
        min-idle: 1
#  redis:
#    database: 0
#    host: 10.187.1.202
#    port: 6379
#    password: ZhongtaiRedis@103
#    redisson:
#      pool:
#        max-active: 12
#        min-idle: 6
#    jedis:
#      pool:
#        max-idle: 8
#        max-active: 8
#        max-wait: -1ms
#        min-idle: 1
  #security
  security:
    user:
@@ -54,13 +54,14 @@
  mapper-locations: classpath*:com/gk/hotwork/**/*.xml
  type-aliases-package: com.gk.hotwork.Domain
  type-enums-package: com.gk.hotwork.Domain.Enum
  configuration:
    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
#线程池配置
threadPool:
  corePoolSize: 20
  maxPoolSize: 20
  queueCapacity: 10000
logging:
  level:
    com.gk.hotwork: info