fengcunhan commented on a change in pull request #2273:
URL: https://github.com/apache/incubator-shenyu/pull/2273#discussion_r737995237



##########
File path: 
shenyu-plugin/shenyu-plugin-dubbo/shenyu-plugin-apache-dubbo/src/main/java/org/apache/shenyu/plugin/apache/dubbo/cache/ApplicationConfigCache.java
##########
@@ -151,11 +153,18 @@ private boolean needUpdateRegistryConfig(final 
DubboRegisterConfig dubboRegister
         ReferenceConfig<GenericService> reference = new ReferenceConfig<>();
         reference.setGeneric("true");
         reference.setAsync(true);
+        reference.setSent(false);

Review comment:
       The default value of sent in MethodConfig is null, when checkDefault 
method is invoke, the sent value is set to true.When the request data was sent 
in NettyChannel.send method,if sent value is true,current thread is block to 
wait sent finish.  You can read this 
[article](https://blog.csdn.net/matthew_zhang/article/details/70943109)




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to