疯狂的狮子Li
2022-01-25 3706d2e1db45e64a1375b92300901de39e35e464
ruoyi-admin/src/main/resources/application-dev.yml
@@ -51,7 +51,7 @@
        # 主库数据源
        master:
          driverClassName: com.mysql.cj.jdbc.Driver
          # jdbc 所有参数配置参考 com/mysql/cj/conf/PropertyKey
          # jdbc 所有参数配置参考 https://lionli.blog.csdn.net/article/details/122018562
          # rewriteBatchedStatements=true 批处理优化 大幅提升批量插入更新删除性能(对数据库有性能损耗 使用批量操作应考虑性能问题)
          url: jdbc:mysql://localhost:3306/ry-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true
          username: root
@@ -129,9 +129,9 @@
redisson:
  # 线程池数量
  threads: 16
  threads: 4
  # Netty线程池数量
  nettyThreads: 32
  nettyThreads: 8
  # 传输模式
  transportMode: "NIO"
  # 单节点配置
@@ -139,9 +139,9 @@
    # 客户端名称
    clientName: ${ruoyi.name}
    # 最小空闲连接数
    connectionMinimumIdleSize: 32
    connectionMinimumIdleSize: 8
    # 连接池大小
    connectionPoolSize: 64
    connectionPoolSize: 32
    # 连接空闲超时,单位:毫秒
    idleConnectionTimeout: 10000
    # 命令等待超时,单位:毫秒