Keep B2 client fixes and move VPS implementation to its standalone repository
This commit is contained in:
@@ -361,10 +361,13 @@ class VPSHosts:
|
||||
self.command_wake.wait(1 if pending else 5)
|
||||
|
||||
def _runtime_tick(self, next_sync: dict[str, float]) -> bool:
|
||||
from . import equipment_command_dispatch
|
||||
from .equipment_command_runtime import pump
|
||||
from .equipment_network import refresh
|
||||
|
||||
with self.lock:
|
||||
with suppress(OSError, ValueError, KeyError, sqlite3.Error, http.client.HTTPException):
|
||||
equipment_command_dispatch.pump(self)
|
||||
for row in self.rows():
|
||||
if self.stop.is_set():
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user