Skip to content

perf(runtime): enable uvloop/httptools and tune container memory/keep… - #554

Merged
vastsa merged 1 commit into
vastsa:masterfrom
jcbl1:upstream/07-runtime
Oct 25, 2026
Merged

vastsa merged 1 commit into
vastsa:masterfrom
jcbl1:upstream/07-runtime

Conversation

@jcbl1

@jcbl1 jcbl1 commented Oct 24, 2026

Copy link
Copy Markdown
Contributor

…-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.

…-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.
@vercel

vercel Bot commented Oct 24, 2026

Copy link
Copy Markdown

@jcbl1 is attempting to deploy a commit to the vastsa's projects Team on Vercel.

A member of the Team first needs to authorize it.

@vastsa
vastsa merged commit 5da611c into vastsa:master Oct 25, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants