mirror of
https://gitee.com/dromara/RuoYi-Cloud-Plus.git
synced 2026-04-24 19:38:35 +08:00
update 优化 删除无用配置
This commit is contained in:
@@ -2,12 +2,7 @@ server:
|
||||
# jetty 配置
|
||||
jetty:
|
||||
# HTTP post内容的最大大小。当值为-1时,默认值为大小是无限的
|
||||
max-http-form-post-size: -1
|
||||
threads:
|
||||
# 最小线程数
|
||||
min: 8
|
||||
# 最大线程数
|
||||
max: 256
|
||||
max-http-form-post-size: 1GB
|
||||
|
||||
dubbo:
|
||||
application:
|
||||
@@ -27,13 +22,6 @@ dubbo:
|
||||
consumer:
|
||||
# 超时时间
|
||||
timeout: 3000
|
||||
metadata-report:
|
||||
# Redis集群开关
|
||||
cluster: false
|
||||
parameters:
|
||||
# 集群地址 cluster 为 true 生效
|
||||
# 集群把所有Redis集群节点写到这里就行了
|
||||
backup: 127.0.0.1:6379,127.0.0.1:6381
|
||||
# 自定义配置
|
||||
custom:
|
||||
# 全局请求log
|
||||
@@ -60,9 +48,9 @@ spring:
|
||||
servlet:
|
||||
multipart:
|
||||
# 整个请求大小限制
|
||||
max-request-size: 20MB
|
||||
max-request-size: 1GB
|
||||
# 上传单个文件大小限制
|
||||
max-file-size: 10MB
|
||||
max-file-size: 1GB
|
||||
mvc:
|
||||
# 设置静态资源路径 防止所有请求都去查静态资源
|
||||
static-path-pattern: /static/**
|
||||
|
||||
Reference in New Issue
Block a user