Keep one long-lived yt-dlp worker process instead of spawning per call

This commit is contained in:
Claude
2026-09-30 07:04:53 +00:00
parent b8658f3a9d
commit 9cac21afce
8 changed files with 259 additions and 12 deletions

View File

@@ -22,6 +22,8 @@ services:
# SEARCH_INNERTUBE: "0" # force yt-dlp search
# Optional: override yt-dlp binary path if you mount a custom one
# YTDLP_PATH: "/usr/local/bin/yt-dlp"
# YTDLP_WORKER: "0" # disable the long-lived yt-dlp worker pool
# YTDLP_WORKERS: "2" # pool size
# Server media cache (server/media-cache.js) — defaults shown.
# MEDIA_DIR: "/app/data/media" # on the ytplayer-data volume
# MEDIA_CACHE_MAX_BYTES: "10737418240" # 10 GiB, LRU eviction past this