Skip to content

生产环境使用cms/file接口做的功能,在上传18MB左右的文件报错,小文件没问题 #368

Open
@ganyu0515

Description

@ganyu0515

重现步骤(可选):
使用上传接口时,是不是只需要在src/main/java/io/github/talelin/latticy/extensions/file/config.properties修改相关信息就行了?
我将max-file-size设置成了300MB,single-limit设置成了60MB,但在生产环境上运行时,我上传18Mb的文件就给我报错了,是不是因为上传慢,数据来不及返回,程序判断如果超过多少时间没数据返回,就说接口有问题导致的?因为我上传几百KB的文件时没这个问题

1561603556950_ pic_hd
1561603556950_ pic_hd
1551603556945_ pic_hd

期望的结果是什么?
期望可以做大额文件上传,比如60MB左右的文件

实际的结果是什么?

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions