Skip to content

Commit

Permalink
Delete duplicate code of setFuture().
Browse files Browse the repository at this point in the history
  • Loading branch information
莫那·鲁道 authored and ujjboy committed May 10, 2018
1 parent e5e6a67 commit 7465553
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,6 @@ protected ResponseFuture doInvokeAsync(SofaRequest request, RpcInternalContext r
ClassLoaderUtils.getCurrentClassLoader());
// 发起调用
RPC_CLIENT.invokeWithCallback(url, request, invokeContext, callback, timeoutMillis);
// 记录到上下文 传递出去
RpcInternalContext.getContext().setFuture(future);
future.setSentTime();
return future;
}
Expand Down

0 comments on commit 7465553

Please sign in to comment.