Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pubsub: retry stream errors properly
- Recognize which errors are retryable - Do exponential backoff - Stop only when the context is done Change-Id: I4606c534e167bd7ee138fa588e2dca04a5f1f234 Reviewed-on: https://code-review.googlesource.com/14152 Reviewed-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Kamal Aboul-Hosn <aboulhosn@google.com> Reviewed-by: Michael Darakananda <pongad@google.com>
- Loading branch information
Showing
1 changed file
with
31 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters