diff options
author | Waqas Hussain <waqas20@gmail.com> | 2008-11-02 06:36:42 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2008-11-02 06:36:42 +0500 |
commit | 66ae6ceaa874b6359957322718d4a9c9862d262d (patch) | |
tree | b727f9fdb64aafb5bfdfef1c3299d66fb234822c /core/s2smanager.lua | |
parent | 3a14c1ab216ab1ff415f03571b2928e7be1240d1 (diff) | |
download | prosody-66ae6ceaa874b6359957322718d4a9c9862d262d.tar.gz prosody-66ae6ceaa874b6359957322718d4a9c9862d262d.zip |
Added resource priority handling, etc
Diffstat (limited to 'core/s2smanager.lua')
-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 b2e498bd..7855181e 100644 --- a/core/s2smanager.lua +++ b/core/s2smanager.lua @@ -57,7 +57,7 @@ end local open_sessions = 0; function new_incoming(conn) - local session = { conn = conn, priority = 0, type = "s2sin_unauthed", direction = "incoming" }; + local session = { conn = conn, type = "s2sin_unauthed", direction = "incoming" }; if true then session.trace = newproxy(true); getmetatable(session.trace).__gc = function () open_sessions = open_sessions - 1; print("s2s session got collected, now "..open_sessions.." s2s sessions are allocated") end; |