deploy standalone ASR pipeline on tools-pve
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
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)
|
||||
Reference in New Issue
Block a user