Mercurial > prosody-modules
comparison mod_statistics_statsman/mod_statistics_statsman.lua @ 3169:5d58bdbfe024
mod_statistics_statsman: Ignore that we discard incoming data [luacheck]
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Mon, 02 Jul 2018 22:45:11 +0200 |
| parents | 2558ece20e58 |
| children | c7773ea263d0 |
comparison
equal
deleted
inserted
replaced
| 3168:73a610c3c7a9 | 3169:5d58bdbfe024 |
|---|---|
| 85 push_stat(conn, name, value); | 85 push_stat(conn, name, value); |
| 86 end | 86 end |
| 87 conn:write("\n"); -- Signal end of first batch (for non-streaming clients) | 87 conn:write("\n"); -- Signal end of first batch (for non-streaming clients) |
| 88 end | 88 end |
| 89 | 89 |
| 90 function listener.onincoming(conn, data) | 90 function listener.onincoming(conn, data) -- luacheck: ignore 212 |
| 91 -- Discarded | |
| 91 end | 92 end |
| 92 | 93 |
| 93 function listener.ondisconnect(conn) | 94 function listener.ondisconnect(conn) |
| 94 sessions[conn] = nil; | 95 sessions[conn] = nil; |
| 95 end | 96 end |
