Changeset

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 1083:6685ebe6f8cf
children 1085:56fc7a86eb20
files mod_statistics/top.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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 = {};