Merge pull request #285 from shining-stars-lk/develop

Fixed Hystrix issues
1.3.1
小马哥 3 years ago committed by GitHub
commit b2b511a3b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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