Chunk size set to 1MB for now, as it seems that our networking code has problems when transferring 2MB chunks. We can increase this later once that problem has been fixed.

This commit is contained in:
CalDescent 2021-06-19 17:32:48 +01:00
parent 8e35f131d5
commit 64d19e480b

View File

@ -44,7 +44,7 @@ public class DataFile {
private static final Logger LOGGER = LogManager.getLogger(DataFile.class);
public static final long MAX_FILE_SIZE = 100 * 1024 * 1024; // 100MiB
public static final int CHUNK_SIZE = 2 * 1024 * 1024; // 2MiB
public static final int CHUNK_SIZE = 1 * 1024 * 1024; // 1MiB
public static int SHORT_DIGEST_LENGTH = 8;
protected String filePath;