mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 05:37:39 +03:00
mod_csi_simple: Reset queue counter to zero when enabling
For symmetry.
This commit is contained in:
parent
859c3650e5
commit
e1a3982654
1 changed files with 1 additions and 0 deletions
|
@ -124,6 +124,7 @@ end
|
|||
function enable_optimizations(session)
|
||||
if session.conn and session.conn.pause_writes then
|
||||
session.conn:pause_writes();
|
||||
session.csi_counter = 0;
|
||||
filters.add_filter(session, "stanzas/out", manage_buffer);
|
||||
filters.add_filter(session, "bytes/in", flush_buffer);
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue