Commit dc2630dd authored by fangxinjiang's avatar fangxinjiang

附件上传限流-fxj

parent 867a9d30
......@@ -42,7 +42,7 @@ public class FileUploadServiceImpl implements FileUploadService {
private AtomicInteger atomicInteger = new AtomicInteger(0);
//初始化附件上传队列上限值
private int maxLimit = 10;
private int maxLimit = 1;
@Override
public R<TAttaInfo> uploadFileReturnAtta(MultipartFile file, String filePath, Integer type, String domainId) throws IOException {
......
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