Files
Codex 2367c5eb4e
Build image / build (push) Canceled after 0s
Build ASR Pipeline / image (push) Canceled after 0s
feat(tools-pve/asr-pipeline): multi-backend ASR web app with LiteLLM routing
2026-11-01 22:07:57 -08:00

8 lines
182 B
Python

import time
from .config import STATE
heartbeat = STATE / "worker.heartbeat"
raise SystemExit(
0 if heartbeat.exists() and time.time() - heartbeat.stat().st_mtime < 90 else 1
)