aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2022-05-26 19:24:01 +0200
committerKim Alvefur <zash@zash.se>2022-05-26 19:24:01 +0200
commitce636e5b331afa27f69b32ba040dc6a51e23893e (patch)
treeb6113f33093a6c73a38f63eb0c4c9db12c13b037 /plugins
parent226d9f5ac5a04fcb7391a9cac49962b0171835af (diff)
downloadprosody-ce636e5b331afa27f69b32ba040dc6a51e23893e.tar.gz
prosody-ce636e5b331afa27f69b32ba040dc6a51e23893e.zip
mod_smacks: Remove debug log references to timer (not used anymore)
Cuts down on noise as well
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_smacks.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/mod_smacks.lua b/plugins/mod_smacks.lua
index 84231e26..2172cd5c 100644
--- a/plugins/mod_smacks.lua
+++ b/plugins/mod_smacks.lua
@@ -173,13 +173,12 @@ end
local function request_ack(session, reason)
local queue = session.outgoing_stanza_queue;
- session.log("debug", "Sending <r> (inside timer, before send) from %s - #queue=%d", reason, queue:count_unacked());
+ session.log("debug", "Sending <r> from %s - #queue=%d", reason, queue:count_unacked());
(session.sends2s or session.send)(st.stanza("r", { xmlns = session.smacks }))
if session.destroyed then return end -- sending something can trigger destruction
session.awaiting_ack = true;
-- expected_h could be lower than this expression e.g. more stanzas added to the queue meanwhile)
session.last_requested_h = queue:count_acked() + queue:count_unacked();
- session.log("debug", "Sending <r> (inside timer, after send) from %s - #queue=%d", reason, queue:count_unacked());
if not session.delayed_ack_timer then
session.delayed_ack_timer = timer.add_task(delayed_ack_timeout, function()
ack_delayed(session, nil); -- we don't know if this is the only new stanza in the queue