5
modules/system/blocks/system_blocks.php
Lines 38-40:
if (mt_rand(1, 100) < 11) {
$online_handler->gc(300);
}
Change the 11 in if(mt_rand(1,100) < 11) { to whatever value you want.
On a related note, I am working with Brash on an improved who's online block, which pulls data from PHP Stats (must be installed as a separate script and share database with XOOPS) and compares it to the session table in XOOPS.
So far it seems to be working ok (but need more testing on somewhat higher load) and can be seen as a preview on
http://xoops.web-udvikling.dk