diff --git a/chord_drs/request.py b/chord_drs/request.py index 7a5e88c..6d36dfb 100644 --- a/chord_drs/request.py +++ b/chord_drs/request.py @@ -4,7 +4,7 @@ __all__ = ["DrsRequest"] -MAX_IN_MEMORY_SIZE = 1024 * 1024 # 1 MB +MAX_IN_MEMORY_SIZE = 1024 * 1024 * 10 # 10 MB class DrsRequest(Request): diff --git a/chord_drs/routes.py b/chord_drs/routes.py index 3eb1c02..702fd0a 100644 --- a/chord_drs/routes.py +++ b/chord_drs/routes.py @@ -33,7 +33,7 @@ RE_STARTING_SLASH = re.compile(r"^/") MIME_OCTET_STREAM = "application/octet-stream" -CHUNK_SIZE = 1024 * 16 # Read 16 KB at a time +CHUNK_SIZE = 1024 * 128 # Read 128 KB at a time drs_service = Blueprint("drs_service", __name__)