seanyinx commented on a change in pull request #122: SCB-239 omega stateless
URL: 
https://github.com/apache/incubator-servicecomb-saga/pull/122#discussion_r165665944
 
 

 ##########
 File path: 
omega/omega-transaction/src/main/java/org/apache/servicecomb/saga/omega/transaction/TransactionAspect.java
 ##########
 @@ -58,8 +54,8 @@ Object advise(ProceedingJoinPoint joinPoint, Compensable 
compensable) throws Thr
     String localTxId = context.localTxId();
     context.newLocalTxId();
 
-    TimeAwareInterceptor interceptor = new 
TimeAwareInterceptor(this.interceptor);
-    AlphaResponse response = interceptor.preIntercept(localTxId, signature, 
joinPoint.getArgs());
+    OnceAwareInterceptor interceptor = new 
OnceAwareInterceptor(this.interceptor);
 
 Review comment:
   why wrapping in OnceAwareInterceptor?

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to