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
Graceful shutdown timeout configuration ignored #2037
Labels
Comments
It seems that org.springframework.boot.autoconfigure.context.LifecycleAutoConfiguration is not working |
Workout having looked at the sample yet, what does this have to do with Spring Cloud? |
It works with minimal spring boot app, but not with minimal spring cloud gateway |
@mbrkic4
log output:
|
Yes, this solves it, thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Setting graceful shutdown timeout via property "spring.lifecycle.timeout-per-shutdown-phase" doesn't work, default value (30s) is always used. Sample that reproduces the problem is attached. Timeout in sample is set to 60 seconds, but it occures after 30 seconds ("o.s.c.support.DefaultLifecycleProcessor : Failed to shut down 1 bean with phase value 2147483647 within timeout of 30000ms: [webServerGracefulShutdown]".
spring-cloud-gateway-demo.zip
The text was updated successfully, but these errors were encountered: