diff mod_statistics/top.lua @ 1084:9612cea92503

mod_statistics: top: Clean up sessions after 60s of inactivity
author Matthew Wild <mwild1@gmail.com>
date Sat, 15 Jun 2013 22:27:42 +0100
parents 6685ebe6f8cf
children 7dbde05b48a9
line wrap: on
line diff
--- a/mod_statistics/top.lua	Sat Jun 15 22:26:48 2013 +0100
+++ b/mod_statistics/top.lua	Sat Jun 15 22:27:42 2013 +0100
@@ -6,7 +6,7 @@
 local stats = require "stats".stats;
 local time = require "socket".gettime;
 
-local sessions_idle_after = 10;
+local sessions_idle_after = 60;
 local stanza_names = {"message", "presence", "iq"};
 
 local top = {};