修复:放宽后台作品上传限制

This commit is contained in:
xiaowang
2026-04-01 16:35:33 +08:00
parent 59ac729f44
commit 8ac7deffca
3 changed files with 1355 additions and 1 deletions
@@ -33,7 +33,8 @@ import java.util.Objects;
@RequiredArgsConstructor
public class ChunkUploadServiceImpl implements ChunkUploadService {
private static final int CHUNK_SIZE = 1024 * 1024;
// Keep each chunk comfortably below the common 1 MB gateway/body limit.
private static final int CHUNK_SIZE = 512 * 1024;
private static final long SESSION_EXPIRE_HOURS = 24;
private static final String METADATA_FILE_NAME = "metadata.json";
private static final String CHUNK_FILE_PREFIX = "chunk-";