mirror of
https://github.com/markqvist/Sideband.git
synced 2026-11-21 15:36:23 -05:00
Wait for service init on start, reuse existing service
This commit is contained in:
parent
7ee0171ec7
commit
bec6bda2f6
3 changed files with 23 additions and 7 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue