diff --git a/server/src/api/v1/upload_path.rs b/server/src/api/v1/upload_path.rs index 41f3a50..ba00b25 100644 --- a/server/src/api/v1/upload_path.rs +++ b/server/src/api/v1/upload_path.rs @@ -55,7 +55,9 @@ use crate::database::{AtticDatabase, ChunkGuard, NarGuard}; const CONCURRENT_CHUNK_UPLOADS: usize = 10; /// The maximum size of the upload info JSON. -const MAX_NAR_INFO_SIZE: usize = 64 * 1024; // 64 KiB +/// +/// TODO: Make this configurable +const MAX_NAR_INFO_SIZE: usize = 1 * 1024 * 1024; // 1 MiB type CompressorFn = Box Box + Send>;