fei
2 天以前 5d91a329768a2a86e01e4b9b6bc6a2b939b87adb
ruoyi-admin/src/main/resources/application.yml
@@ -25,6 +25,9 @@
    uri-encoding: UTF-8
    # 连接数满后的排队数,默认为100
    accept-count: 1000
    connection-timeout: 150000  # 20秒
    keep-alive-timeout: 150000  # 长连接超时
    max-keep-alive-requests: 100
    threads:
      # tomcat最大线程数,默认为200
      max: 800
@@ -41,9 +44,9 @@
user:
  password:
    # 密码最大错误次数
    maxRetryCount: 5
    maxRetryCount: 100000
    # 密码锁定时间(默认10分钟)
    lockTime: 10
    lockTime: 1
# Spring配置
spring:
@@ -57,9 +60,9 @@
  servlet:
    multipart:
      # 单个文件大小
      max-file-size: 10MB
      max-file-size: 200MB
      # 设置总上传的文件大小
      max-request-size: 20MB
      max-request-size: 1000MB
  # 服务模块
  devtools:
    restart:
@@ -134,3 +137,4 @@
  excludes: /system/notice
  # 匹配链接
  urlPatterns: /system/*,/monitor/*,/tool/*