pubsub: retry aborted
Part 1 of 2 commits related to
@@ -68,7 +68,7 @@ func isRetryable(err error) bool {
return true
}
switch s.Code() {
- case codes.DeadlineExceeded, codes.Internal, codes.ResourceExhausted:
+ case codes.DeadlineExceeded, codes.Internal, codes.ResourceExhausted, codes.Aborted:
return true
case codes.Unavailable:
return !strings.Contains(s.Message(), "Server shutdownNow invoked")
