From 02bf5ada89f5cc8d16ac188e22ccad54a1a63c36 Mon Sep 17 00:00:00 2001 From: Geometrically <18202329+Geometrically@users.noreply.github.com> Date: Mon, 30 May 2022 16:29:23 -0700 Subject: [PATCH] Increase file size limit (#361) --- src/routes/version_creation.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/version_creation.rs b/src/routes/version_creation.rs index df9fc0b0..4db93226 100644 --- a/src/routes/version_creation.rs +++ b/src/routes/version_creation.rs @@ -661,8 +661,8 @@ pub async fn upload_file( })?; let data = read_from_field( - field, 100 * (1 << 20), - "Project file exceeds the maximum of 100MiB. Contact a moderator or admin to request permission to upload larger files." + field, 500 * (1 << 20), + "Project file exceeds the maximum of 500MiB. Contact a moderator or admin to request permission to upload larger files." ).await?; let hash = sha1::Sha1::from(&data).hexdigest();