MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / IsRetriable

Function IsRetriable

tensorflow/core/platform/cloud/retrying_utils.cc:26–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24namespace {
25
26bool IsRetriable(error::Code code) {
27 switch (code) {
28 case error::UNAVAILABLE:
29 case error::DEADLINE_EXCEEDED:
30 case error::UNKNOWN:
31 return true;
32 default:
33 // OK also falls here.
34 return false;
35 }
36}
37
38} // namespace
39

Callers 1

CallWithRetriesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected