aaron-ai commented on code in PR #5194:
URL: https://github.com/apache/rocketmq/pull/5194#discussion_r980827318


##########
proxy/src/main/java/org/apache/rocketmq/proxy/ProxyStartup.java:
##########
@@ -93,6 +93,8 @@ public static void main(String[] args) {
             Runtime.getRuntime().addShutdownHook(new Thread(() -> {
                 log.info("try to shutdown server");
                 try {
+                    PROXY_START_AND_SHUTDOWN.preShutdown();
+                    
Thread.sleep(ConfigurationManager.getProxyConfig().getGraceShutdownTimeMillis());

Review Comment:
   How is the `graceShutdownTimeMillis` determined?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to