yhs0092 opened a new issue, #4053:
URL: https://github.com/apache/servicecomb-java-chassis/issues/4053

   ## 涉及分支
   
   2.8.x
   
   ## 问题描述
   
   
当前`InvokerUtils`类的`decorateSyncRetry`和`decorateReactiveRetry`方法中获取`RetryHandler`时,
 每次都是直接调用`BeanUtils.getBean(RetryHandler.class)`方法, 因此每次调用都会从Spring 应用上下文中重新查找 
bean.
   
   建议将`BeanUtils.getBean(RetryHandler.class)`的结果缓存起来, 减少不必要的查找操作.


-- 
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