diff options
author | Waqas Hussain <waqas20@gmail.com> | 2008-11-15 08:38:25 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2008-11-15 08:38:25 +0500 |
commit | 9318711f5f25a04aea6fe2fc9caa79a322a004b3 (patch) | |
tree | 62d00a7a66646cbbf060d77097d4c74819777c41 | |
parent | 785e99a1afd75882fed1f1f7ca8d7daa1bf34018 (diff) | |
download | prosody-9318711f5f25a04aea6fe2fc9caa79a322a004b3.tar.gz prosody-9318711f5f25a04aea6fe2fc9caa79a322a004b3.zip |
Log how many queued stanzas we send
-rw-r--r-- | core/s2smanager.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/s2smanager.lua b/core/s2smanager.lua index bec1c29b..c3d9bdb4 100644 --- a/core/s2smanager.lua +++ b/core/s2smanager.lua @@ -205,7 +205,7 @@ function mark_connected(session) if session.direction == "outgoing" then if sendq then - session.log("debug", "sending queued stanzas across new outgoing connection to "..session.to_host); + session.log("debug", "sending "..#sendq.." queued stanzas across new outgoing connection to "..session.to_host); for i, data in ipairs(sendq) do send(data); sendq[i] = nil; |