Skip to content
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

It doesn't work, configuration in 'application-xxx.yml' #2024

Closed
alibbbian opened this issue Dec 29, 2021 · 2 comments
Closed

It doesn't work, configuration in 'application-xxx.yml' #2024

alibbbian opened this issue Dec 29, 2021 · 2 comments

Comments

@alibbbian
Copy link

alibbbian commented Dec 29, 2021

org.springframework.cloud:spring-cloud-starter-netflix-hystrix:2.2.6.RELEASE
org.springframework.boot:spring-boot-starter-parent:2.5.7
spring-cloud.version=2020.0.4

application-dev.yml :
hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds: 8000

not work

System.setProperty("hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds", "8000");

it works, and any other way?

@retozigerlig
Copy link

I'm facing the same issue. Defining the value via yaml does not work, defining it via environment variable works.

@alibbbian
Copy link
Author

I'm facing the same issue. Defining the value via yaml does not work, defining it via environment variable works.

my problem is less this:

<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-netflix-archaius</artifactId>

add this, now it works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants