Do not choke on network failure
All checks were successful
docker-image / docker (push) Successful in 1m19s
All checks were successful
docker-image / docker (push) Successful in 1m19s
This commit is contained in:
parent
a392922848
commit
e94724470e
1 changed files with 4 additions and 1 deletions
|
@ -18,7 +18,10 @@ class UpdatePoller:
|
|||
|
||||
def run(self):
|
||||
while True:
|
||||
try:
|
||||
self.send_locks()
|
||||
except Exception as e:
|
||||
self.log.warning(f"Exception while sending locks: {e}")
|
||||
sleep(self.update_delay)
|
||||
|
||||
def get_lock(self, id:str):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue