You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2018/11/10 01:14:22 UTC

[GitHub] ascrutae commented on issue #1892: Custom HystrixConcurrencyStrategy doesn't work when using hystrix plugin.

ascrutae commented on issue #1892: Custom HystrixConcurrencyStrategy doesn't work when using hystrix plugin.
URL: https://github.com/apache/incubator-skywalking/issues/1892#issuecomment-437543734
 
 
   After I read this plugin. I found that the root cause of this issue is that this plugin does not take into account the situation of call `reset` method. I think that we just intercept `reset` method and reset the `SWHystrixPluginsWrapperCache` object will be ok. Here is the pseudo code of the new interceptor:
   ```java
   ((EnhancedInstance)(HystrixPlugins.getInstance())).setSkyWalkingDynamicField(null);
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services