comparison mod_s2s_keepalive/mod_s2s_keepalive.lua @ 4213:93a980ac1816

mod_s2s_keepalive: Restore timer start (Thanks Ge0rG) Accidentally deleted
author Kim Alvefur <zash@zash.se>
date Fri, 16 Oct 2020 13:38:51 +0200
parents 593fd9e0a435
children edde5905744a
comparison
equal deleted inserted replaced
4212:593fd9e0a435 4213:93a980ac1816
79 if s2sout[origin.from_host] and s2sout[origin.from_host].watchdog_keepalive then 79 if s2sout[origin.from_host] and s2sout[origin.from_host].watchdog_keepalive then
80 s2sout[origin.from_host].watchdog_keepalive:reset(); 80 s2sout[origin.from_host].watchdog_keepalive:reset();
81 end 81 end
82 return true; 82 return true;
83 end); 83 end);
84
85 module:add_timer(keepalive_interval, send_pings);