-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does execution.isolation.strategy really default to THREAD as stated in the docs? #1383
Comments
FWIW, I noticed the same thing. Seems to only be with methods that return |
When not using Javanica, Javanica makes this a bit more implicit by using |
Thanks for the clarification! What's the reason behind |
See https://github.com/Netflix/Hystrix/wiki/FAQ%20:%20Operational. If you are using |
based on this conversation can we say that there is no issue and everything is working as expected in this regard ? |
If you read https://github.com/Netflix/Hystrix/wiki/Configuration you get the impression that THREAD is always the default:
There could at least be a footnote about it sometimes not being the default there. We thought we were on THREAD until we were surprised to hit a semaphore limit. |
Thanks for the report, @ghostganz . I just modified https://github.com/Netflix/Hystrix/wiki/Configuration#thread-or-semaphore. Any further changes that may be helpful? |
@mattrjacobs So if I am using hystrix observable which uses semaphore, does that mean I cannot update the timeout? Will it be defaulted to 1000ms always? |
Running a test with javanica annotations and it seems like default execution isolation strategy is SEMAPHORE and not THREAD. Is this a bug or error in the docs or did I misunderstand something?
The test below will print:
Uncommenting the
@HystrixProperty
will make the test print out different thread-ids.The text was updated successfully, but these errors were encountered: