Software /
code /
prosody
Changeset
10808:0d365c0ee9fe
mod_csi_simple: Log reasons for not flushing
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 07 May 2020 23:02:47 +0200 |
parents | 10807:b92afa0a4119 |
children | 10809:86ea811ee25b |
files | plugins/mod_csi_simple.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_csi_simple.lua Thu May 07 22:56:30 2020 +0200 +++ b/plugins/mod_csi_simple.lua Thu May 07 23:02:47 2020 +0200 @@ -104,6 +104,7 @@ session.log("debug", "Flushing buffer (%s; queue size is %d)", why or "important", session.csi_counter); session.conn:resume_writes(); else + session.log("debug", "Holding buffer (%s; queue size is %d)", why or "unimportant", session.csi_counter); stanza = with_timestamp(stanza, jid.join(session.username, session.host)) end session.csi_counter = ctr + 1;