summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ea1415b)
raw | patch | inline | side by side (parent: ea1415b)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 24 Aug 2009 07:12:08 +0000 (07:12 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 24 Aug 2009 07:12:08 +0000 (07:12 +0000) |
-While the server wasn't reachable, we had logins > 60seconds due to timeout reasons.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14110 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14110 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_log.inc | patch | blob | history |
index 4b846e5722e26f1811178f9ba6aac370a5a51eb7..fbdbb371c72b953e34a4b1dd78325e6fdb5c4c86 100644 (file)
/* Connect to the database
*/
+ ini_set("mysql.connect_timeout",5);
$con = @mysql_pconnect($server_name,$server['USER'],$server['PWD']);
if(!$con){
$error = msgPool::dbconnect(_("MySQL logging"),mysql_error());