Skip to content

Commit

Permalink
increase timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-f committed Jul 8, 2024
1 parent 0100891 commit 7b57def
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/pixljs_alert/zero_ble.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def get_rpi_status():
pass
gpdsdout = "n/a n/a"
try:
with GPSDClient(timeout=1) as client:
with GPSDClient(timeout=3) as client:
for result in client.dict_stream(convert_datetime=True, filter=["TPV"]):
gpdsdout = "%.7s %.7s" % (result.get("lat", "n/a"), result.get("lon", "n/a"))
break
Expand Down

0 comments on commit 7b57def

Please sign in to comment.