fix: cap CPU and avoid heavy startup work

This commit is contained in:
ShukeBta
2026-06-11 19:48:00 +08:00
parent d9f87c61b6
commit 7274ea19b7
13 changed files with 230 additions and 35 deletions
+1
View File
@@ -20,6 +20,7 @@ app:
web_dir: ./web/dist
ffmpeg_path: ffmpeg
ffprobe_path: ffprobe
max_cpu_threads: 2 # hard cap for Go CPU threads; raise only on powerful hosts
vaapi_device: /dev/dri/renderD128
cors_origins: [] # leave empty to allow * in dev; set strict allow-list in prod
server_url: "" # public URL of the server (used for DLNA / casting)