疯狂的狮子li
2022-04-22 70c1a37bbd95bd3850d23c902fbe82aaf835adae
ruoyi-admin/src/main/resources/application-prod.yml
@@ -1,19 +1,10 @@
--- # 配置临时路径存储
spring:
  servlet:
    multipart:
      # 临时文件存储位置 避免临时文件被系统清理报错
      location: /ruoyi/server/temp
--- # 临时文件存储位置 避免临时文件被系统清理报错
spring.servlet.multipart.location: /ruoyi/server/temp
--- # 监控配置
spring:
  boot:
    admin:
      # Spring Boot Admin Client 客户端的相关配置
      client:
--- # 监控中心配置
spring.boot.admin.client:
        # 增加客户端开关
        enabled: true
        # 设置 Spring Boot Admin Server 地址
        url: http://172.30.0.90:9090/admin
        instance:
          service-host-type: IP
@@ -21,15 +12,13 @@
        password: 123456
--- # xxl-job 配置
xxl:
  job:
xxl.job:
    # 执行器开关
    enabled: true
    # 调度中心地址:如调度中心集群部署存在多个地址则用逗号分隔。
    admin-addresses: http://172.30.0.92:9100/xxl-job-admin
    # 执行器通讯TOKEN:非空时启用
    access-token: xxl-job
    # 执行器配置
    executor:
      # 执行器AppName:执行器心跳注册分组依据;为空则关闭自动注册
      appname: xxl-job-executor
@@ -113,9 +102,7 @@
        filters: stat
--- # druid 配置
spring:
  datasource:
    druid:
spring.datasource.druid:
      webStatFilter:
        enabled: true
      statViewServlet:
@@ -158,8 +145,6 @@
  threads: 16
  # Netty线程池数量
  nettyThreads: 32
  # 传输模式
  transportMode: "NIO"
  # 单节点配置
  singleServerConfig:
    # 客户端名称
@@ -172,9 +157,5 @@
    idleConnectionTimeout: 10000
    # 命令等待超时,单位:毫秒
    timeout: 3000
    # 如果尝试在此限制之内发送成功,则开始启用 timeout 计时。
    retryAttempts: 3
    # 命令重试发送时间间隔,单位:毫秒
    retryInterval: 1500
    # 发布和订阅连接池大小
    subscriptionConnectionPoolSize: 50