DescriptionFor sync exponential backoff, allow one nudge per exponential backoff interval. If the nudge
still leaves the syncer with more work to do, don't accept any further nudges for this interval,
and keep the exponent stage for exponential backoff the same.
As a result of the patch, the unittest can now explicitly determine if exponential backoff
kicked in or not.
We really need to wire this up directly to the error codes to be precise, because the current impl (and
it's the same with my patch) appears to trigger exponential backoff in other cases (ShouldSyncAgain).
TEST=SyncerThreadTest
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=29053
Patch Set 1 #Patch Set 2 : '' #
Total comments: 17
Patch Set 3 : '' #
Total comments: 4
Patch Set 4 : '' #
Messages
Total messages: 7 (0 generated)
|