-
Notifications
You must be signed in to change notification settings - Fork 18
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
Updates to Hystrix timeout setting are not applied #31
Comments
Maybe related to #18 |
It looks like a new handler (and so a new |
I looked into this a bit and it seems like the configs caches are being cleared properly and subsequent retrievals from cache show the updated timeout values. Will look into this further to see if this is something on the Hystrix-level that we didn't know about/understand. |
As @lloydmeta guessed, the old timeout value is being cached by Hystrix. Specifically the HystrixPropertiesFactory class. We are correctly passing the updated timeout value to the Hystrix does not provide any methods to clear/manually update this cache, so the options are:
|
Another issue with this is that it will make a mess of the Hystrix dashboard because you'll get a new "circuit" widget whenever you use a new command key. It seems like ones with the least number of disadvantages are the last 3 (plugin, PR, or wontfix). |
Voting for the reflection trick (at least while preparing a PR). We are not |
It looks like we can simply implement a Hystrix plugin that has |
Fixed by #36 |
Expected result: Hystrix timeout changes to 2 seconds, so requests no longer timeout
Actual result: Hystix timeout is still 1 second
The text was updated successfully, but these errors were encountered: