|
|
|
@ -143,8 +143,7 @@ public class DiscoveryClient implements DisposableBean {
|
|
|
|
|
boolean success = register();
|
|
|
|
|
// TODO Abstract server registration logic
|
|
|
|
|
ThreadPoolAdapterRegister adapterRegister = ApplicationContextHolder.getBean(ThreadPoolAdapterRegister.class);
|
|
|
|
|
Map<String, ThreadPoolAdapter> threadPoolAdapterMap = ApplicationContextHolder.getBeansOfType(ThreadPoolAdapter.class);
|
|
|
|
|
adapterRegister.register(threadPoolAdapterMap);
|
|
|
|
|
adapterRegister.register();
|
|
|
|
|
if (success) {
|
|
|
|
|
instanceInfo.unsetIsDirty(timestamp);
|
|
|
|
|
}
|
|
|
|
|