diff options
author | Matthew Wild <mwild1@gmail.com> | 2012-11-15 14:07:53 -0500 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2012-11-15 14:07:53 -0500 |
commit | b16826a916ddd7124cf4e1fc579b09f5c1a0c04f (patch) | |
tree | b4f61532023b0ef12dadab99cc45df9e12a7502e /plugins/mod_bosh.lua | |
parent | 80711fd402439eb00afef9411334b72f6e615647 (diff) | |
parent | cfceef5b2216cbaadec0601ded7fabcaef7377f7 (diff) | |
download | prosody-b16826a916ddd7124cf4e1fc579b09f5c1a0c04f.tar.gz prosody-b16826a916ddd7124cf4e1fc579b09f5c1a0c04f.zip |
Merge 0.9->trunk
Diffstat (limited to 'plugins/mod_bosh.lua')
-rw-r--r-- | plugins/mod_bosh.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_bosh.lua b/plugins/mod_bosh.lua index 350d6b0c..1270a080 100644 --- a/plugins/mod_bosh.lua +++ b/plugins/mod_bosh.lua @@ -70,8 +70,8 @@ end local t_insert, t_remove, t_concat = table.insert, table.remove, table.concat; local os_time = os.time; -local sessions = {}; -local inactive_sessions = {}; -- Sessions which have no open requests +-- All sessions, and sessions that have no requests open +local sessions, inactive_sessions = module:shared("sessions", "inactive_sessions"); -- Used to respond to idle sessions (those with waiting requests) local waiting_requests = {}; |