Fixed Hystrix issues

pull/285/head
lucky 8 2 years ago
parent 071c62cd4f
commit 1fa5395aa6

@ -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);
}

Loading…
Cancel
Save