diff options
author | Kim Alvefur <zash@zash.se> | 2020-05-07 23:02:47 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2020-05-07 23:02:47 +0200 |
commit | 593c693e220d3f6e5a2eb622200352cc7d4976cb (patch) | |
tree | a5256eff6054f2b59ca68098ff723fb2d8fbd9dd | |
parent | b9684574dbfa0ef1f256c8bacd58579907223adc (diff) | |
download | prosody-593c693e220d3f6e5a2eb622200352cc7d4976cb.tar.gz prosody-593c693e220d3f6e5a2eb622200352cc7d4976cb.zip |
mod_csi_simple: Log reasons for not flushing
-rw-r--r-- | plugins/mod_csi_simple.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_csi_simple.lua b/plugins/mod_csi_simple.lua index 6274dcb3..bb8f757a 100644 --- a/plugins/mod_csi_simple.lua +++ b/plugins/mod_csi_simple.lua @@ -104,6 +104,7 @@ local function manage_buffer(stanza, session) 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; |