feat: implement stream lease management for Vercel hybrid streaming path to align occupancy duration with native Go streaming behavior.

This commit is contained in:
CJACK
2026-02-16 23:22:04 +08:00
parent eb470c33ba
commit 770f5719d8
9 changed files with 426 additions and 159 deletions

View File

@@ -71,6 +71,11 @@ DS2API_ADMIN_KEY=admin
# Optional: falls back to DS2API_ADMIN_KEY when unset.
# DS2API_VERCEL_INTERNAL_SECRET=change-me
# Stream lease TTL seconds for Vercel hybrid streaming.
# During this window, the managed account stays occupied until Node calls release.
# Default: 900 (15 minutes)
# DS2API_VERCEL_STREAM_LEASE_TTL_SECONDS=900
# ---------------------------------------------------------------
# Vercel sync integration (optional)
# ---------------------------------------------------------------