~phablet-team/syncevolution/trunk

Viewing all changes in revision 4711.

  • Committer: Patrick Ohly
  • Date: 2018-01-09 15:53:28 UTC
  • Revision ID: git-v1:3afdbaf65143fa43b90cd5096b7e64500a1fa8c3
EDS: more generic open retry handling

Recent EDS started to exhibit race conditions when opening a database (for
example, https://bugzilla.gnome.org/show_bug.cgi?id=791306). Opening was
already tried again for a certain known error in some old EDS version. Now it
is tried five times with a delay of one second for all errors.

The advantage is that this does not depend on accurately detecting the race
condition error.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: