Skip to content

Commit 5e6766a

Browse files
committed
gRPC: add UNAVAILABLE to list of retryable codes
Signed-off-by: Andrei Lebedev <[email protected]>
1 parent e526501 commit 5e6766a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

irohad/network/impl/grpc_channel_builder.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ namespace iroha {
3838
"UNKNOWN",
3939
"DEADLINE_EXCEEDED",
4040
"ABORTED",
41-
"INTERNAL"
41+
"INTERNAL",
42+
"UNAVAILABLE"
4243
]
4344
},
4445
"maxRequestMessageBytes": %2%,

0 commit comments

Comments
 (0)