Skip to content

Commit

Permalink
Revert "Remove end of line comment and add override annotation when r…
Browse files Browse the repository at this point in the history
…ewrite method (alibaba#1420)" (alibaba#1423)

This reverts commit 83de262.
  • Loading branch information
vongosling authored Aug 28, 2019
1 parent 83de262 commit ce4478a
Showing 1 changed file with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,12 @@ public AsyncTraceDispatcher(String traceTopicName, RPCHook rpcHook) {
} else {
this.traceTopicName = MixAll.RMQ_SYS_TRACE_TOPIC;
}
this.traceExecutor = new ThreadPoolExecutor(
10,
20,
1000 * 60,
TimeUnit.MILLISECONDS,
this.appenderQueue,
this.traceExecutor = new ThreadPoolExecutor(//
10, //
20, //
1000 * 60, //
TimeUnit.MILLISECONDS, //
this.appenderQueue, //
new ThreadFactoryImpl("MQTraceSendThread_"));
traceProducer = getAndCreateTraceProducer(rpcHook);
}
Expand Down Expand Up @@ -133,7 +133,6 @@ public void setHostConsumer(DefaultMQPushConsumerImpl hostConsumer) {
this.hostConsumer = hostConsumer;
}

@Override
public void start(String nameSrvAddr, AccessChannel accessChannel) throws MQClientException {
if (isStarted.compareAndSet(false, true)) {
traceProducer.setNamesrvAddr(nameSrvAddr);
Expand Down

0 comments on commit ce4478a

Please sign in to comment.