将get_latest_n_segments分离出来到utils
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user