summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ee25896)
raw | patch | inline | side by side (parent: ee25896)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 7 May 2009 08:39:48 +0000 (08:39 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 7 May 2009 08:39:48 +0000 (08:39 +0000) |
-Global timeout from 10 to 15 seconds.
-Ping timeout from 0.5 to 2 seconds
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13632 594d385d-05f5-0310-b6e9-bd551577e9d8
-Ping timeout from 0.5 to 2 seconds
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13632 594d385d-05f5-0310-b6e9-bd551577e9d8
trunk/gosa-core/include/class_gosaSupportDaemon.inc | patch | blob | history |
diff --git a/trunk/gosa-core/include/class_gosaSupportDaemon.inc b/trunk/gosa-core/include/class_gosaSupportDaemon.inc
index 3cf6e7da5c42712045ee2d28c0f1d3a3dfd7ecaa..33e841885166744e132c6135832db1e120faa727 100644 (file)
@param boolean Connect Directly connect to daemon socket.
@param float Timeout The timelimit for all socket actions.
*/
- public function __construct($connect=TRUE,$timeout=10)
+ public function __construct($connect=TRUE,$timeout=15)
{
#FIXME: bad idea about referencing global variables from within classes
global $config;
{
if (tests::is_mac($target)){
/* Get communication object */
- $d= new gosaSupportDaemon(TRUE,0.5);
+ $d= new gosaSupportDaemon(TRUE,2);
$answer= $d->_send("<xml><header>gosa_ping</header><source>GOSA</source><target>$target</target></xml>", TRUE);
return (count($answer) ? TRUE:FALSE);
}