From: hickert Date: Thu, 7 May 2009 08:39:48 +0000 (+0000) Subject: Increased Timeouts for communications with the gosa-si server X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ecc68f233ada5070f1479c5388d0fdde1d3762cc;p=gosa.git Increased Timeouts for communications with the gosa-si server -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 --- diff --git a/trunk/gosa-core/include/class_gosaSupportDaemon.inc b/trunk/gosa-core/include/class_gosaSupportDaemon.inc index 3cf6e7da5..33e841885 100644 --- a/trunk/gosa-core/include/class_gosaSupportDaemon.inc +++ b/trunk/gosa-core/include/class_gosaSupportDaemon.inc @@ -52,7 +52,7 @@ class gosaSupportDaemon @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; @@ -1192,7 +1192,7 @@ class gosaSupportDaemon { if (tests::is_mac($target)){ /* Get communication object */ - $d= new gosaSupportDaemon(TRUE,0.5); + $d= new gosaSupportDaemon(TRUE,2); $answer= $d->_send("
gosa_ping
GOSA$target
", TRUE); return (count($answer) ? TRUE:FALSE); }