Software /
code /
prosody
Diff
core/sessionmanager.lua @ 583:5821eaa80baa
Remove print()s from sessionmanager and s2smanager
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 06 Dec 2008 23:14:39 +0000 |
parent | 569:5216efe6088b |
child | 597:e33d384e1b2e |
line wrap: on
line diff
--- a/core/sessionmanager.lua Sat Dec 06 23:13:38 2008 +0000 +++ b/core/sessionmanager.lua Sat Dec 06 23:14:39 2008 +0000 @@ -52,7 +52,7 @@ local session = { conn = conn, priority = 0, type = "c2s_unauthed", conntime = gettime() }; if true then session.trace = newproxy(true); - getmetatable(session.trace).__gc = function () open_sessions = open_sessions - 1; print("Session got collected, now "..open_sessions.." sessions are allocated") end; + getmetatable(session.trace).__gc = function () open_sessions = open_sessions - 1; end; end open_sessions = open_sessions + 1; log("info", "open sessions now: ".. open_sessions);