changed trip time warning to 750ms

This commit is contained in:
Mikayla Fischler
2023-02-26 14:49:16 -05:00
parent 2b8f71fc43
commit 523d478739
11 changed files with 20 additions and 20 deletions

View File

@@ -429,8 +429,8 @@ function rtu.comms(version, modem, local_port, server_port, range, conn_watchdog
local timestamp = packet.data[1]
local trip_time = util.time() - timestamp
if trip_time > 500 then
log.warning("RTU KEEP_ALIVE trip time > 500ms (" .. trip_time .. "ms)")
if trip_time > 750 then
log.warning("RTU KEEP_ALIVE trip time > 750ms (" .. trip_time .. "ms)")
end
-- log.debug("RTU RTT = " .. trip_time .. "ms")