changeset 1127:38e56be11584

mod_bidi: Make sessions table weak
author Kim Alvefur <zash@zash.se>
date Sat, 03 Aug 2013 00:53:09 +0200
parents 6fd328b8e136
children 6b344b7e4781
files mod_bidi/mod_bidi.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_bidi/mod_bidi.lua	Sat Aug 03 00:51:00 2013 +0200
+++ b/mod_bidi/mod_bidi.lua	Sat Aug 03 00:53:09 2013 +0200
@@ -13,7 +13,7 @@
 local xmlns_bidi_feature = "urn:xmpp:features:bidi"
 local xmlns_bidi = "urn:xmpp:bidi";
 local secure_only = module:get_option_boolean("secure_bidi_only", true);
-local bidi_sessions = module:shared"sessions";
+local bidi_sessions = module:shared"sessions-cache";
 
 local function handleerr(err) log("error", "Traceback[s2s]: %s: %s", tostring(err), traceback()); end
 local function handlestanza(session, stanza)