Skip to content

Commit

Permalink
add todo
Browse files Browse the repository at this point in the history
  • Loading branch information
hexiaofeng committed Jan 21, 2025
1 parent 594387f commit 4c8a2dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion joylive-package/src/main/assembly/config/microservice.json
Original file line number Diff line number Diff line change
Expand Up @@ -960,7 +960,7 @@
"slowCallDurationThreshold": 1000,
"waitDurationInOpenState": 50,
"allowedCallsInHalfOpenState": 3,
"forceOpen": false,
"forceOpen": true,
"realizeType": "Resilience4j",
"degradeConfig": {
"responseCode": 200,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ private static class LiveChannel extends Channel {
public <ReqT, RespT> ClientCall<ReqT, RespT> newCall(MethodDescriptor<ReqT, RespT> method, CallOptions callOptions) {
if (method.getType() != MethodType.UNARY) {
// This is not a Unary RPC method
// TODO test
return channel.newCall(method, callOptions);
}
LiveRequest<ReqT, RespT> request = new LiveRequest<>(method, context);
Expand Down

0 comments on commit 4c8a2dc

Please sign in to comment.