DescriptionRetries with exponential backoff for dismissals.
Unification of retry mechanisms for updating cards and dismissals.
BUG=164227
TEST=For updating cards: all previously existing tests apply. Make sure that existing tests include checking for exponentially growing (with random jitter) retry period starting with a random value between 5-6 min till we get to 1 hour. Make sure that the tests check that after successfully receiving cards, next update will be exactly after the time suggested by the server.
For dismissals: modify existing tests to expect exponentially growing retry period, starting from 1-1.2 minutes, capped by 1 hour. After dismissal success, dismissal retries should stop.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=200368
Patch Set 1 #Patch Set 2 : Cosmetics #
Total comments: 6
Patch Set 3 : skare@ comments #
Total comments: 14
Patch Set 4 : Comments. #Patch Set 5 : Typo. #
Total comments: 2
Messages
Total messages: 15 (0 generated)
|