mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 13:47:41 +03:00
mod_csi_simple: Log reasons for not flushing
This commit is contained in:
parent
a9ba50343c
commit
b2baba1124
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue