Merge pull request #39360 from okohub
* pr/39360: Remove System.out usage from Jetty GracefulShutdown Closes gh-39360
This commit is contained in:
commit
86039f2bc9
|
@ -36,6 +36,7 @@ import org.springframework.util.ReflectionUtils;
|
|||
* Handles Jetty graceful shutdown.
|
||||
*
|
||||
* @author Andy Wilkinson
|
||||
* @author Onur Kagan Ozcan
|
||||
*/
|
||||
final class GracefulShutdown {
|
||||
|
||||
|
@ -99,7 +100,6 @@ final class GracefulShutdown {
|
|||
while (this.shuttingDown && this.activeRequests.get() > 0) {
|
||||
sleep(100);
|
||||
}
|
||||
System.out.println(this.activeRequests.get());
|
||||
this.shuttingDown = false;
|
||||
long activeRequests = this.activeRequests.get();
|
||||
if (activeRequests == 0) {
|
||||
|
|
Loading…
Reference in New Issue