Updata2
This commit is contained in:
@@ -702,6 +702,7 @@ def run_gap_check(
|
||||
content_sample_limit: int | None = None,
|
||||
window_split_unit: str | None = None,
|
||||
window_compensation_hours: int | None = None,
|
||||
tag: str = "",
|
||||
) -> dict:
|
||||
cfg = cfg or AppConfig.load({})
|
||||
tz = ZoneInfo(cfg.get("app.timezone", "Asia/Taipei"))
|
||||
@@ -800,7 +801,7 @@ def run_gap_check(
|
||||
if cutoff:
|
||||
logger.info("CUTOFF=%s overlap_hours=%s", cutoff.isoformat(), cutoff_overlap_hours)
|
||||
|
||||
tag_suffix = f"_{args.tag}" if args.tag else ""
|
||||
tag_suffix = f"_{tag}" if tag else ""
|
||||
client = build_recording_client(cfg, task_code=f"ODS_GAP_CHECK{tag_suffix}")
|
||||
|
||||
db_state = _init_db_state(cfg)
|
||||
|
||||
Reference in New Issue
Block a user