Mibew Messenger Community
General => Support => Topic started by: meownoi on February 05, 2009, 06:22:55 AM
-
I would like to thanks to the author(s) of this great web IM. It's all about what I need and I like it very much.
However, recently, I found that the connection timeout quite often and annoying the conversations. The timeout occurred about every 5-10 minutes and need to refresh the whole page to reconnect (but sometimes I need to restart browser).
I've tried changing $connection_timeout from 30 secs to 18000 secs (5 hours), in chat.php:
// $connection_timeout = 30; // sec
$connection_timeout = 18000; // 18000 sec = 5 hours
But problem still exists :'(
Please suggest me any workaround for this issue. Or you have any ideas for the root causes?
Thank you in advance :)
-
Mostly it depends on your hosting provider, which blocks you after some number of requests.
Try to change polling interval:
For chat, in /styles/.../templates/chat.tpl change frequency argument:
var threadParams = { ...... frequency:2,
For "Awaiting Visitors" page, add frequency argument (2 secs by default):
var updaterOptions = {
.... noclients:"<?php echo getlocal("clients.no_clients") ?>", frequency: 7 };
Evgeny.