updating RPM and max_inter logic

This commit is contained in:
João Moura
2024-02-05 23:14:22 -08:00
parent 856981e0ed
commit ab5647145f
4 changed files with 7 additions and 8 deletions

View File

@@ -45,8 +45,7 @@ class RPMController(BaseModel):
def _wait_for_next_minute(self):
time.sleep(60)
with self._lock:
self._current_rpm = 0
self._current_rpm = 0
def _reset_request_count(self):
with self._lock: