decrease reactor PLC reconnect time

This commit is contained in:
Mikayla Fischler
2025-11-08 23:49:50 -05:00
parent 3987d337c4
commit 1254d668a9

View File

@@ -34,10 +34,9 @@ function threads.thread__main(smem)
databus.tx_rt_status("main", true)
log.debug("OS: main thread start")
-- send status updates at 2Hz (every 10 server ticks) (every loop tick)
-- send link requests at 0.5Hz (every 40 server ticks) (every 8 loop ticks)
local LINK_TICKS = 8
local LINK_TICKS = 2
local ticks_to_update = 0
local loop_clock = util.new_clock(MAIN_CLOCK)
-- load in from shared memory