mirror of
https://github.com/crewAIInc/crewAI.git
synced 2025-12-13 02:48:30 +00:00
fix: set rpm controller timer as daemon to prevent process hang
Some checks failed
Some checks failed
Co-authored-by: Greyson LaLonde <greyson.r.lalonde@gmail.com>
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user