Diff

core/s2smanager.lua @ 269:3cfac0e5e6ca

Log how many queued stanzas we send
author Waqas Hussain <waqas20@gmail.com>
date Sat, 15 Nov 2008 08:38:25 +0500
parent 266:34b053c001f8
child 327:9439362caacc
line wrap: on
line diff
--- a/core/s2smanager.lua	Sat Nov 15 00:35:09 2008 +0000
+++ b/core/s2smanager.lua	Sat Nov 15 08:38:25 2008 +0500
@@ -205,7 +205,7 @@
 	
 	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;