Skip to content

Commit d486cf3

Browse files
Reduce car time injection interval from 30s to 3s
1 parent 5087eca commit d486cf3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • universal-telemetry-software/src

universal-telemetry-software/src/data.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -925,11 +925,11 @@ async def _relay(msg):
925925
finally:
926926
uplink_sock.close()
927927

928-
# Car Time Injector — pushes base station clock to car Pi via /set-time every 30s.
928+
# Car Time Injector — pushes base station clock to car Pi via /set-time every 3s.
929929
# Safety gate: if base clock is before 2026-04-01, injection is blocked and
930930
# _base_clock_bad is set so the status page can warn the operator.
931931
_BASE_CLOCK_TRUST_EPOCH = 1743465600.0 # 2026-04-01 00:00:00 UTC
932-
_CAR_TIME_INJECT_INTERVAL = 30.0
932+
_CAR_TIME_INJECT_INTERVAL = 3.0
933933
_CAR_STATUS_PORT = int(os.getenv("STATUS_PORT", "8080"))
934934

935935
async def car_time_injector():

0 commit comments

Comments
 (0)