File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1+ - Fixed bug: Grpc.Core.StatusCode.Cancelled was mapped to server's Canceled status.
12- ADO.NET: PoolingSessionSource 2.0 based on Npgsql pooling algorithm.
23- Added new ADO.NET options:
34 - ` MinSessionPool ` : The minimum connection pool size.
Original file line number Diff line number Diff line change @@ -7,10 +7,9 @@ public static class StatusCodeUtils
77 internal static StatusCode Code ( this Grpc . Core . Status rpcStatus ) => rpcStatus . StatusCode switch
88 {
99 Grpc . Core . StatusCode . Unavailable => StatusCode . ClientTransportUnavailable ,
10- Grpc . Core . StatusCode . DeadlineExceeded => StatusCode . ClientTransportTimeout ,
10+ Grpc . Core . StatusCode . DeadlineExceeded or Grpc . Core . StatusCode . Cancelled => StatusCode . ClientTransportTimeout ,
1111 Grpc . Core . StatusCode . ResourceExhausted => StatusCode . ClientTransportResourceExhausted ,
1212 Grpc . Core . StatusCode . Unimplemented => StatusCode . ClientTransportUnimplemented ,
13- Grpc . Core . StatusCode . Cancelled => StatusCode . Cancelled ,
1413 _ => StatusCode . ClientTransportUnknown
1514 } ;
1615
You can’t perform that action at this time.
0 commit comments