数据库连接数问题

Blade 未结 0 392
kokoro
kokoro 剑童 2021-08-30 13:47

spring:

    redis:

        host: xxx.xxx.xxx.xxx

        port: 6379

        password: 123456

        database: 0

    application:

        name: zj-dict-oss-interfaces

    datasource:

        driver-class-name: com.mysql.cj.jdbc.Driver

        url: jdbc:mysql://xxx.xxx.xxx.xxx:3306/test?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=UTC&allowMultiQueries=true

        username: root

        password: 123456

        minIdle: 50

        initialSize: 20

        maxActive: 50

        maxTotal: 50  

        max-wait-millis: 60000


根据此配数据库连接数,但是实际连接数并未增加,我看blade默认最大是50个。



回答
  • 消灭零回复
提交回复