feat: files up to 4 GB again (Dropstar, 2026-10-28)
All checks were successful
Build and deploy / Validate source (push) Successful in 1m5s
Build and deploy / Integration suite on a real stack (push) Successful in 5m22s
Build and deploy / Secret scan and release gate (push) Successful in 9s
Build and deploy / Publish images (push) Successful in 1m24s

It was 5 GB, then 1 GB from 2026-10-21. ClamAV keeps scanning up to its own
2000 MiB limit; a larger file passes by the file-format check, as before
the 1 GB limit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Cauê Faleiros
2026-10-28 09:58:42 -03:00
parent 312e1e3aa3
commit ee6344dc74
10 changed files with 20 additions and 19 deletions

View File

@@ -10,4 +10,4 @@ def scan_limit_bytes():
def upload_limit_bytes():
return int(os.environ.get('MAX_UPLOAD_BYTES', '1073741824'))
return int(os.environ.get('MAX_UPLOAD_BYTES', str(4 * 1024 ** 3)))