# HG changeset patch # User Matthew Wild # Date 1371331662 -3600 # Node ID 9612cea9250368cb9a360b2adf70c5d8b32eacc5 # Parent 6685ebe6f8cf4cb4f1015544b7e1b56e0d04ecf4 mod_statistics: top: Clean up sessions after 60s of inactivity diff -r 6685ebe6f8cf -r 9612cea92503 mod_statistics/top.lua --- 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 = {};