equal
deleted
inserted
replaced
60 module:hook("iq-result/host/keepalive", function (event) |
60 module:hook("iq-result/host/keepalive", function (event) |
61 local origin = event.origin; |
61 local origin = event.origin; |
62 if origin.watchdog_keepalive then |
62 if origin.watchdog_keepalive then |
63 origin.watchdog_keepalive:reset(); |
63 origin.watchdog_keepalive:reset(); |
64 end |
64 end |
65 if s2sout[origin.from_host] then |
65 if s2sout[origin.from_host] and s2sout[origin.from_host].watchdog_keepalive then |
66 s2sout[origin.from_host]:reset(); |
66 s2sout[origin.from_host].watchdog_keepalive:reset(); |
67 end |
67 end |
68 end); |
68 end); |
69 |
69 |
70 module:hook("iq-error/host/keepalive", function (event) |
70 module:hook("iq-error/host/keepalive", function (event) |
71 local origin = event.origin; |
71 local origin = event.origin; |