修复:放宽后台作品上传限制
This commit is contained in:
+2
-1
@@ -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-";
|
||||
|
||||
Reference in New Issue
Block a user