R34681 - /trunk/phpfreechat/phpfreechat_config.php

Author: leithoff
New Revision: 34681

URL: http://www.egroupware.org/viewvc/egroupware?rev=34681&view=rev
Log:

  • phpfreechat: add timeout parameter (and increase the default timeout) to workaround problems with differing server times when running phpfreechat within a farm/cluster on different machines

Modified:
trunk/phpfreechat/phpfreechat_config.php

Modified: trunk/phpfreechat/phpfreechat_config.php
URL: http://www.egroupware.org/viewvc/egroupware/trunk/phpfreechat/phpfreechat_config.php?rev=34681&r1=34680&r2=34681&view=diff

— trunk/phpfreechat/phpfreechat_config.php (original)
+++ trunk/phpfreechat/phpfreechat_config.php Thu Apr 14 18:06:34 2011
@@ -14,6 +14,10 @@
/* CONFIGURATION HERE. /
$params = array();
$params[“title”] = lang(‘eGroupware Chat’);
+// set timeout to 1 Minute, as we experienced problems with random disconnects when runnig phpfreechat within a farm on different
+// machines. Timeout is usually set to 35000 (35s), and is used to determine if a user is still online or not (e.g.: by closing or crashing
+// his browser, or the phpfreechat window (without phpfreechat recieving the /quit command))
+$params[“timeout”] = 60000;
/
Make the channel list configurable (via an admin interface?). */
$categories = new categories($GLOBALS[‘egw_info’][‘user’][‘account_id’],‘phpfreechat’);
$channels = array();


Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation – Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev


eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs