PerUserTopicSubscriptionManager: avoid subscriptions backoff bypassing
In the previous form UpdateSubscribedTopics() replaced pending subscription request even if the same request was scheduled and this led to bypassing exponential backoff. This patch ensures that old subscription request preserved and adds early exit from StartPendingSubscriptionRequest(). Bug: 1020117 Change-Id: I0994e8dc4256e9fc5b77ca2d8753f3cb356ddb4d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2043796 Commit-Queue: Maksim Moskvitin <mmoskvitin@google.com> Reviewed-by:Marc Treib <treib@chromium.org> Cr-Commit-Position: refs/heads/master@{#739421}
Showing
Please register or sign in to comment