Netflix / Hystrix

Hystrix is a latency and fault tolerance library designed to isolate points of access to remote systems, services and 3rd party libraries, stop cascading failure and enable resilience in complex distributed systems where failure is inevitable.
23.98k stars 4.7k forks source link

fix thread pool error #2022

Open wangqianqianjun opened 2 years ago

wangqianqianjun commented 2 years ago

When the thread pool is dynamically expanded, and current thread pool maximum size < dynamicCoreSize , will throw exception and stop the current process.
So first need expand maximum size , then expand core size.

ThinkingMan007 commented 2 years ago

好的,我已收到。

wangqianqianjun commented 2 years ago

For jdk 1.8 that no problem, but when you upgrade your jdk to 16 , will cause some problems.

ThinkingMan007 commented 2 years ago

好的,我已收到。