docs(project): document THUMB_MAX_PIXELS and THUMB_CONCURRENCY
deploy / deploy (push) Successful in 53s

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-12 01:07:30 +03:00
parent 2d2a42d523
commit e694f17be9
+8
View File
@@ -92,6 +92,14 @@ THUMB_WIDTH=160
THUMB_HEIGHT=160 THUMB_HEIGHT=160
PREVIEW_WIDTH=1920 PREVIEW_WIDTH=1920
PREVIEW_HEIGHT=1080 PREVIEW_HEIGHT=1080
# Largest source image (in pixels, width×height) decoded to build a thumbnail or
# preview; bigger images get a placeholder. Bounds a decompression bomb and the
# per-image RAM cost. Default ~300 Mpx (e.g. 13000×17000).
THUMB_MAX_PIXELS=300000000
# How many thumbnails/previews may be generated at once. Each resize already uses
# every core, so a burst of large images otherwise pegs the CPU and RAM. 0 = auto
# (half the available CPUs).
THUMB_CONCURRENCY=0
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------
# Import # Import