mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-03 13:25:05 +01:00
fall back to default timeout (=20) on felamimail_bo->openConnection, as a timeout set to 5 seemed to trigger too many unwanted timeouts
This commit is contained in:
parent
4e0ae73a73
commit
40708b49d1
@ -3426,7 +3426,7 @@ class felamimail_bo
|
||||
//error_log(__METHOD__." using existing Connection ProfileID:".$_icServerID.' Status:'.print_r($this->icServer->_connected,true));
|
||||
} else {
|
||||
//error_log( "-------------------------->open connection for Server with profileID:".$_icServerID.function_backtrace());
|
||||
$tretval = $this->icServer->openConnection($_adminConnection,5);
|
||||
$tretval = $this->icServer->openConnection($_adminConnection);
|
||||
if ( PEAR::isError($tretval) || $tretval===false)
|
||||
{
|
||||
$isError[$_icServerID] = ($tretval?$tretval->message:$this->icServer->_connectionErrorObject->message);
|
||||
|
@ -165,8 +165,9 @@ class notifications_ajax {
|
||||
$bufferFMailSession = $bofelamimail->sessionData;
|
||||
if( !$bofelamimail->openConnection($activeProfile) ) {
|
||||
// TODO: This is ugly. Log a bit nicer!
|
||||
error_log(__METHOD__.__LINE__.' # '.$bofelamimail->getErrorMessage());
|
||||
$error = $bofelamimail->getErrorMessage();
|
||||
error_log(__METHOD__.__LINE__.' # '.self::_appname.' (user: '.$this->recipient->account_lid.'): cannot connect to mailbox with Profile:'.$activeProfile.'. Please check your prefs!');
|
||||
if (!empty($error)) error_log(__METHOD__.__LINE__.' # '.$error);
|
||||
error_log(__METHOD__.__LINE__.' # Instance='.$GLOBALS['egw_info']['user']['domain'].', User='.$GLOBALS['egw_info']['user']['account_lid']);
|
||||
return false; // cannot connect to mailbox
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user