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

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