heartbeat errors now sent every 30 mins not every 40 secs
This commit is contained in:
parent
4703d4be8b
commit
45eb6ec356
@ -80,11 +80,13 @@ function heartbeat_update(sec_current, sec_delta)
|
||||
irc.write("*** heartbeat server \""..host.."\" port "..port.." reports bad packet format - FIX ME OR REMOVE THIS SERVER")
|
||||
heartbeat_t_burstsleft = nil
|
||||
heartbeat_t_nextmsg = nil
|
||||
heartbeat_t_nextburst = heartbeat_t_nextburst + 60*30
|
||||
elseif msg:len() >= 4 and msg:sub(1,4) == "BADV" then
|
||||
print("*** heartbeat server \""..host.."\" port "..port.." reports bad version - UPGRADE OR REMOVE THIS SERVER")
|
||||
irc.write("*** heartbeat server \""..host.."\" port "..port.." reports bad version - UPGRADE OR REMOVE THIS SERVER")
|
||||
heartbeat_t_burstsleft = nil
|
||||
heartbeat_t_nextmsg = nil
|
||||
heartbeat_t_nextburst = heartbeat_t_nextburst + 60*30
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user