You need to sign in or sign up before continuing.
Commit dec577f6 authored by hongguangwu's avatar hongguangwu

Merge remote-tracking branch 'origin/MVP1.7.19' into MVP1.7.19

parents bd79d191 b5006138
......@@ -27,8 +27,13 @@ spec:
#dapr.io/sidecar-memory-limit: "800Mi" #Dapr sidecar可以使用的最大内存量。默认情况下未设置 请参阅 https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/quota-memory-cpu-namespace/ 的有效值。
#dapr.io/sidecar-cpu-request: 1 #Dapr sidecar要求的 CPU 数量
#dapr.io/sidecar-memory-request #Dapr sidecar 请求的内存数量
dapr.io/http-max-request-size: "100" #增加http和grpc服务器请求正文参数的最大大小,单位为MB,以处理大文件的上传。 默认值为 4 MB
dapr.io/http-read-buffer-size: "16" #Dapr has a default limit of 4KB for the http header read buffer size. When sending http headers that are bigger than the default 4KB, you can increase this value. Otherwise, you may encounter a Too big request header
dapr.io/app-max-request-size: "600" # 明确指定应用请求大小
dapr.io/http-max-request-size: "600" #增加http和grpc服务器请求正文参数的最大大小,单位为MB,以处理大文件的上传。 默认值为 4 MB
dapr.io/http-read-buffer-size: "4096" #Dapr has a default limit of 4KB for the http header read buffer size. When sending http headers that are bigger than the default 4KB, you can increase this value. Otherwise, you may encounter a Too big request header
# 新增gRPC配置
dapr.io/grpc-max-request-size: "600"
dapr.io/grpc-max-response-size: "600"
dapr.io/grpc-read-buffer-size: "32768"
#dapr.io/sidecar-listen-addresses: "0.0.0.0"
# 更多dapr配置请参考 https://www.bookstack.cn/read/dapr-1.5-zh/cc77b74e2cc2f4d4.md
spec:
......
......@@ -36,6 +36,10 @@ spec: # 资源规范字段
dapr.io/app-max-request-size: "600" # 明确指定应用请求大小
dapr.io/http-max-request-size: "600" #增加http和grpc服务器请求正文参数的最大大小,单位为MB,以处理大文件的上传。 默认值为 4 MB
dapr.io/http-read-buffer-size: "4096" #Dapr has a default limit of 4KB for the http header read buffer size. When sending http headers that are bigger than the default 4KB, you can increase this value. Otherwise, you may encounter a Too big request header
# 新增gRPC配置
dapr.io/grpc-max-request-size: "600"
dapr.io/grpc-max-response-size: "600"
dapr.io/grpc-read-buffer-size: "32768"
#dapr.io/sidecar-listen-addresses: "0.0.0.0" 开通外部访问,仅限测试环境
# 更多dapr配置请参考 https://www.bookstack.cn/read/dapr-1.5-zh/cc77b74e2cc2f4d4.md
......
......@@ -420,7 +420,7 @@ public class ElectronicArchiveImportServiceImpl implements ElectronicArchiveImpo
// 1. 校验ZIP大小
long fileSize = file.getSize();
if (fileSize > ArchiveConstants.ZIP_MAX_SIZE) {
return R.failed("ZIP文件大小不能超过500M");
return R.failed("ZIP文件大小不能超过200M");
}
// 2. 校验ZIP不为空
......@@ -463,7 +463,7 @@ public class ElectronicArchiveImportServiceImpl implements ElectronicArchiveImpo
// 调用异步处理(通过self代理对象调用,使@Async生效)
// 传递用户ID和用户名,因为异步线程无法获取用户上下文
self.asyncProcessUpload(taskId, user.getId(), user.getNickname());
asyncProcessUpload(taskId, user.getId(), user.getNickname());
return R.ok("ZIP文件提交成功,正在处理中");
......
......@@ -1610,7 +1610,7 @@ public class EmployeeRegistrationServiceImpl extends ServiceImpl<EmployeeRegistr
&& null == preVo.getDispatchInfoFundPreVo().getExpectedConfirmTime()) {
BaseSearchVO paramVo = new BaseSearchVO();
paramVo.setName(preVo.getDispatchInfoFundPreVo().getProvidentHouseholdName());
paramVo.setType(CommonConstants.ZERO_STRING);
paramVo.setType(CommonConstants.ONE_STRING);
R<THouseHoldLimitInnerVo> resultR = socialDaprUtils.getWorkDayByDeadLineDay(paramVo);
fundLimitVo = null== resultR?null:resultR.getData();
if (null == fundLimitVo){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment