Comparison

plugins/mod_csi_simple.lua @ 10828:c12ed21f877e

mod_csi_simple: Change debug message of client-triggered flush for coherence It now matches other the other source of flush reason logging.
author Kim Alvefur <zash@zash.se>
date Sat, 09 May 2020 17:38:13 +0200
parent 10827:d8e83d94a99a
child 10829:67a09706e56e
comparison
equal deleted inserted replaced
10827:d8e83d94a99a 10828:c12ed21f877e
114 session.csi_counter = ctr + 1; 114 session.csi_counter = ctr + 1;
115 return stanza; 115 return stanza;
116 end 116 end
117 117
118 local function flush_buffer(data, session) 118 local function flush_buffer(data, session)
119 session.log("debug", "Client sent something, flushing buffer once (queue size is %d)", session.csi_counter); 119 session.log("debug", "Flushing buffer (%s; queue size is %d)", "client activity", session.csi_counter);
120 session.conn:resume_writes(); 120 session.conn:resume_writes();
121 return data; 121 return data;
122 end 122 end
123 123
124 function enable_optimizations(session) 124 function enable_optimizations(session)