将get_latest_n_segments分离出来到utils

This commit is contained in:
zqc
2026-03-04 19:08:48 +08:00
parent e788492c70
commit 741056a25b
3 changed files with 59 additions and 50 deletions

View File

@@ -24,7 +24,7 @@ def init_config(config_path: str = "config.yaml"):
cfg = yaml.safe_load(f)
ALERT_PUSH_URL = cfg.get("alert_push_url", "")
HLS_ROOT_PATH = cfg.get("hls_root_path", "")
# HLS_ROOT_PATH = cfg.get("hls_root_path", "")
logger.info(f"[INFO] Config initialized from {config_path}, alert_push_url={ALERT_PUSH_URL}")
except Exception as e: