Browse Source

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.

qdn
CalDescent 3 years ago
parent
commit
64d19e480b
  1. 2
      src/main/java/org/qortal/storage/DataFile.java

2
src/main/java/org/qortal/storage/DataFile.java

@ -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;

Loading…
Cancel
Save