decompress .json.zstd fetched by getSaveData
This commit is contained in:
@@ -10,11 +10,11 @@ export const defaultConfig = {
|
||||
// Size of a save if it is uploaded as uncompressed. The browser packs
|
||||
// saves as a stream, so these limits are about the backend's disk
|
||||
// rather than about memory.
|
||||
maxSizePlainTextBytes: 200 * 1024 * 1024,
|
||||
maxSizePlainTextMB: 200,
|
||||
// Archives produced by the game, recognized by the zip magic bytes.
|
||||
maxSizeCompressedBytes: 60 * 1024 * 1024,
|
||||
maxSizeCompressedMB: 60,
|
||||
// read COMPRESSION.md
|
||||
zstdCompressionLevel: 11,
|
||||
zstdCompressionLevel: 10,
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user