Mercurial > prosody-modules
comparison mod_host_status_check/mod_host_status_check.lua @ 2221:3d80f8dba886
mod_host_status_check: Remove debug log message from testing
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Wed, 29 Jun 2016 16:03:24 +0100 |
| parents | 5fcf9d558250 |
| children | ff1499e348f8 |
comparison
equal
deleted
inserted
replaced
| 2220:7f955f92bbbb | 2221:3d80f8dba886 |
|---|---|
| 17 heartbeats[module.host] = time(); | 17 heartbeats[module.host] = time(); |
| 18 return true; | 18 return true; |
| 19 end); | 19 end); |
| 20 else | 20 else |
| 21 connection_events[module.host] = { connected = true, timestamp = time() }; | 21 connection_events[module.host] = { connected = true, timestamp = time() }; |
| 22 module:log("debug", "BLAH") | |
| 23 end | 22 end |
| 24 | 23 |
| 25 function module.unload() | 24 function module.unload() |
| 26 connection_events[module.host] = { connected = false, timestamp = time() }; | 25 connection_events[module.host] = { connected = false, timestamp = time() }; |
| 27 heartbeats[module.host] = nil; | 26 heartbeats[module.host] = nil; |
