Rawgpsd: retry even more on setup (#29045)

old-commit-hash: 9054590c95
beeps
Harald Schäfer 2 years ago committed by GitHub
parent f8c108e8e8
commit fccb8f0a6d
  1. 3
      system/sensord/rawgps/rawgpsd.py

@ -88,12 +88,13 @@ measurementStatusGlonassFields = {
def try_setup_logs(diag, log_types):
for _ in range(3):
for _ in range(10):
try:
setup_logs(diag, log_types)
break
except Exception:
cloudlog.exception("setup logs failed, trying again")
time.sleep(1.0)
else:
raise Exception(f"setup logs failed, {log_types=}")

Loading…
Cancel
Save