fix: set rpm controller timer as daemon to prevent process hang
Some checks failed
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Notify Downstream / notify-downstream (push) Has been cancelled
Mark stale issues and pull requests / stale (push) Has been cancelled

Co-authored-by: Greyson LaLonde <greyson.r.lalonde@gmail.com>
This commit is contained in:
Alex Larionov
2025-12-11 07:59:55 +00:00
committed by GitHub
parent bdafe0fac7
commit 807f97114f

View File

@@ -79,6 +79,7 @@ class RPMController(BaseModel):
self._current_rpm = 0
if not self._shutdown_flag:
self._timer = threading.Timer(60.0, self._reset_request_count)
self._timer.daemon = True
self._timer.start()
if self._lock: