Describe the bug
With config
quarkus.shutdown.timeout=PT60S
the application hangs for 60s when changes have been made with this message:
2023-09-19 09:52:01,808 INFO [io.qua.dep.dev.RuntimeUpdatesProcessor] (vert.x-worker-thread-0) Restarting quarkus due to changes in GreetingResource.class.
2023-09-19 09:52:01,810 INFO [io.qua.ver.htt.run.fil.GracefulShutdownFilter] (Quarkus Main Thread) Waiting for HTTP requests to complete
The behavior is the same on 2.14, 2.15, 2.16, 3.0, 3.1, 3.2, 3.2.
Since dev mode works by detecting changes on incoming request and restarting before the request is processed this behavior is maybe the correct behaviour.
In that case there should be a warning in the docs or even in the console.
Expected behavior
The application is rebuilt immediately and the request is processed.
Actual behavior
The application hangs until the shutdown timeout occurs.
How to Reproduce?
- Generate a quickstart with jaxrs
- Add
quarkus.shutdown.timeout=PT60S to application.properties
- mvn quarkus:dev
- Run a request in the browser
- make a change in the project.
- Run another request.
Output of uname -a or ver
linux
Output of java -version
17
GraalVM version (if different from Java)
No response
Quarkus version or git rev
2.14.0
Build tool (ie. output of mvnw --version or gradlew --version)
mvn
Additional information
No response
Describe the bug
With config
the application hangs for 60s when changes have been made with this message:
The behavior is the same on 2.14, 2.15, 2.16, 3.0, 3.1, 3.2, 3.2.
Since dev mode works by detecting changes on incoming request and restarting before the request is processed this behavior is maybe the correct behaviour.
In that case there should be a warning in the docs or even in the console.
Expected behavior
The application is rebuilt immediately and the request is processed.
Actual behavior
The application hangs until the shutdown timeout occurs.
How to Reproduce?
quarkus.shutdown.timeout=PT60Sto application.propertiesOutput of
uname -aorverlinux
Output of
java -version17
GraalVM version (if different from Java)
No response
Quarkus version or git rev
Build tool (ie. output of
mvnw --versionorgradlew --version)mvn
Additional information
No response