Wait for service init on start, reuse existing service

This commit is contained in:
Mark Qvist 2022-10-02 01:31:47 +02:00
parent 7ee0171ec7
commit bec6bda2f6
3 changed files with 23 additions and 7 deletions

View file

@ -145,6 +145,7 @@ class SidebandService():
def run(self):
while self.should_run:
self.sideband.setstate("service.heartbeat", time.time())
time.sleep(1)
self.release_locks()