We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 154c8ec commit 13a870cCopy full SHA for 13a870c
firestore/google/cloud/firestore_v1/watch.py
@@ -57,7 +57,16 @@
57
"DO_NOT_USE": -1,
58
}
59
_RPC_ERROR_THREAD_NAME = "Thread-OnRpcTerminated"
60
-_RECOVERABLE_STREAM_EXCEPTIONS = (exceptions.ServiceUnavailable,)
+_RECOVERABLE_STREAM_EXCEPTIONS = (
61
+ exceptions.Aborted,
62
+ exceptions.Cancelled,
63
+ exceptions.Unknown,
64
+ exceptions.DeadlineExceeded,
65
+ exceptions.ResourceExhausted,
66
+ exceptions.InternalServerError,
67
+ exceptions.ServiceUnavailable,
68
+ exceptions.Unauthenticated,
69
+)
70
_TERMINATING_STREAM_EXCEPTIONS = (exceptions.Cancelled,)
71
72
DocTreeEntry = collections.namedtuple("DocTreeEntry", ["value", "index"])
0 commit comments