Projects
Kolab:16
kolab-syncroton
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 51
View file
kolab-syncroton-2.4.0.tar.gz/lib/ext/Syncroton/Command/Sync.php
Changed
@@ -1049,7 +1049,7 @@ break; } catch (Exception $zdse) { $retries++; - if ($retries > 5) { + if ($retries > 60) { if ($this->_logger instanceof Zend_Log) $this->_logger->warn(__METHOD__ . '::' . __LINE__ . ' exception while storing new synckey. Aborting after 5 retries.');
View file
kolab-syncroton-2.4.0.tar.gz/lib/kolab_sync_backend_common.php
Changed
@@ -104,8 +104,8 @@ array_values($data) ); - if ($this->db->is_error($result)) { - throw new Exception('Failed to save instance of ' . $this->interface_name); + if ($err = $this->db->is_error($result)) { + throw new Exception('Failed to save instance of ' . $this->interface_name . ": " . $err); } return $object; @@ -151,8 +151,8 @@ $result = $this->db->query('DELETE FROM `' . $this->table_name .'` WHERE `id` = ?', array($id)); - if ($this->db->is_error($result)) { - throw new Exception('Failed to delete instance of ' . $this->interface_name); + if ($err = $this->db->is_error($result)) { + throw new Exception('Failed to delete instance of ' . $this->interface_name . ": " . $err); } return (bool) $this->db->affected_rows($result); @@ -181,8 +181,8 @@ $result = $this->db->query('UPDATE `' . $this->table_name . '` SET ' . implode(', ', $set) . ' WHERE `id` = ' . $this->db->quote($object->id), array_values($data)); - if ($this->db->is_error($result)) { - throw new Exception('Failed to update instance of ' . $this->interface_name); + if ($err = $this->db->is_error($result)) { + throw new Exception('Failed to update instance of ' . $this->interface_name . ": " . $err); } return $object;
View file
kolab-syncroton-2.4.0.tar.gz/lib/kolab_sync_backend_state.php
Changed
@@ -186,13 +186,13 @@ $state->clientIdMap = $states$next->clientIdMap; } else { - // finaly delete all entries marked for removal in syncroton_content table + // finally delete all entries marked for removal in syncroton_content table $retryCounter = 0; while(True) { $result = $this->db->query("DELETE FROM `syncroton_content` WHERE " . implode(' AND ', $where)); if ($this->db->is_error($result)) { $retryCounter++; - if ($retryCounter > 5) { + if ($retryCounter > 60) { throw new Exception('Failed to delete entries in sync_key check'); } } else {
View file
kolab-syncroton-2.4.0.tar.gz/lib/kolab_sync_message.php
Changed
@@ -161,7 +161,7 @@ $headers = $this->headers; $mailto = $headers'To'; - $headers'User-Agent' .= $rcube->app_name . ' ' . kolab_sync::VERSION; + $headers'User-Agent' = $rcube->app_name . ' ' . kolab_sync::VERSION; if ($agent = $rcube->config->get('useragent')) { $headers'User-Agent' .= '/' . $agent; }
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.