fix: 96 DPI is accepted as the Site shows it; big carts upload 4 at a time (Sentry 12/11)
The server compared the raw lowest resolution (95,6) with 96 but printed it rounded, refusing '96 DPI abaixo do mínimo de 96'; it now decides on the same rounded value the Site shows. A big cart started every upload at once and hit the limit of 10 pending uploads (429): the limit is 30, that refusal carries Retry-After so the Site retries by itself, and the Site runs at most 4 uploads at a time. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -58,6 +58,6 @@ MAX_UPLOAD_BYTES=4294967296
|
||||
UPLOAD_PART_BYTES=8388608
|
||||
STORAGE_QUOTA_BYTES=53687091200
|
||||
OWNER_UPLOAD_QUOTA_BYTES=10737418240
|
||||
MAX_PENDING_UPLOADS=10
|
||||
MAX_PENDING_UPLOADS=30
|
||||
# Files above 128 MiB remain blocked (ClamAV config must agree with this limit).
|
||||
SCAN_MAX_BYTES=134217728
|
||||
|
||||
Reference in New Issue
Block a user