summaryrefslogtreecommitdiffstats
path: root/chrome/browser/importer/toolbar_importer.h
diff options
context:
space:
mode:
authorlipalani@chromium.org <lipalani@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-23 21:31:26 +0000
committerlipalani@chromium.org <lipalani@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-23 21:31:26 +0000
commit3b60b83e480f008216966ab9fc789b471f9872ee (patch)
tree3b0428a8bc33f6500986e0919d5d1c7600d84189 /chrome/browser/importer/toolbar_importer.h
parentbd3f16080e9cb98a835b14f96e015d9c2de155a5 (diff)
downloadchromium_src-3b60b83e480f008216966ab9fc789b471f9872ee.zip
chromium_src-3b60b83e480f008216966ab9fc789b471f9872ee.tar.gz
chromium_src-3b60b83e480f008216966ab9fc789b471f9872ee.tar.bz2
We break out of exponential backoff if any command succeeds. This is bit aggressive because it is quite possible that the original command that failed is still failing and continues failing. If we have a succesful command and a failed command in the same sync session we could get into infinite spin.
This fixes it by breaking the exponential back off only if the previous error was a network error and we can connect now. All other errors will retry only on the exp backoff times. BUG=105808 TEST=sync_integration_tests.exe, unit_tests.exe, sync_unit_tests.exe, manual test. Review URL: http://codereview.chromium.org/9249002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118741 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/importer/toolbar_importer.h')
0 files changed, 0 insertions, 0 deletions