From ecf2aa052782bdcabbc9108eb0b0ed033f7a90b4 Mon Sep 17 00:00:00 2001 From: retoor Date: Fri, 13 Dec 2024 19:22:48 +0000 Subject: [PATCH] chore: increase max upload file size constant from 50MB to 300MB in rupload app config --- src/rupload/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rupload/app.py b/src/rupload/app.py index 6685757..b931aad 100644 --- a/src/rupload/app.py +++ b/src/rupload/app.py @@ -2,7 +2,7 @@ import pathlib from aiohttp import web -MAX_FILE_SIZE = 1024 * 1024 * 50 # 50Mb +MAX_FILE_SIZE = 1024 * 1024 * 300 # 50Mb UPLOAD_FOLDER_QUOTA = 10 * 1024 * 1024 * 1024 # 10Gb UPLOAD_URL = "/" UPLOAD_PATH = "uploads"