Files
FileCodeBox/requirements.txt
jcbl1 588af7b6c3 perf(runtime): enable uvloop/httptools and tune container memory/keep-alive
- deps: pin uvloop 0.23.0 (non-Windows marker) and httptools 0.9.0; uvicorn's
  --loop/--http auto picks both up. Lockfile regenerated with constraints so
  only these two packages are added (no transitive version drift).
- Dockerfile: expose TIMEOUT_KEEP_ALIVE (default 5, passed to uvicorn) and
  MALLOC_TRIM_THRESHOLD_=65536 so glibc returns freed heap to the OS after
  large transfers. Defaults keep previous behaviour.
- ci: allow `; marker` pins in the lockfile drift check, otherwise uvloop
  would be silently skipped and never verified.
- docs: document both environment variables (zh/en).
- tests: pin the Dockerfile/requirements/lockfile runtime contract.
2026-10-24 08:16:54 +00:00

14 lines
370 B
Plaintext

aioboto3==15.5.0
aiohttp==3.14.3
aiofiles==25.1.0
fastapi==0.141.1
starlette==1.6.0
pydantic==2.13.5
uvicorn==0.53.0
tortoise-orm==0.25.3
python-multipart==0.0.32
# Uvicorn auto-selects these when importable (`--loop auto` / `--http auto`).
# uvloop has no Windows wheels/support; httptools ships Windows wheels.
uvloop==0.23.0; sys_platform != "win32"
httptools==0.9.0