fix incorrect assignment

pull/235/head
iwangjie 2 years ago
parent a5b64e8639
commit c9170ebf5a

@ -58,7 +58,6 @@ public class DubboThreadPoolAdapter implements ThreadPoolAdapter, ApplicationLis
return threadPoolAdapterState; return threadPoolAdapterState;
} }
threadPoolAdapterState.setThreadPoolKey(identify); threadPoolAdapterState.setThreadPoolKey(identify);
threadPoolAdapterState.setActive(executor.getActiveCount() + "");
threadPoolAdapterState.setCoreSize(executor.getCorePoolSize()); threadPoolAdapterState.setCoreSize(executor.getCorePoolSize());
threadPoolAdapterState.setMaximumSize(executor.getMaximumPoolSize()); threadPoolAdapterState.setMaximumSize(executor.getMaximumPoolSize());
return threadPoolAdapterState; return threadPoolAdapterState;

Loading…
Cancel
Save