This is an automated email from the ASF dual-hosted git repository.
albumenj pushed a commit to branch 3.2
in repository https://gitbox.apache.org/repos/asf/dubbo.git
The following commit(s) were added to refs/heads/3.2 by this push:
new 9687e48949 Polish comments and logs (#12169)
9687e48949 is described below
commit 9687e48949792f5580847b12ff8680b93b85bd2f
Author: ShenFeng312 <[email protected]>
AuthorDate: Tue Apr 25 14:16:56 2023 +0800
Polish comments and logs (#12169)
---
.../src/main/java/org/apache/dubbo/config/DubboShutdownHook.java | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git
a/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/DubboShutdownHook.java
b/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/DubboShutdownHook.java
index e32a3f4fd3..c946fa4390 100644
---
a/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/DubboShutdownHook.java
+++
b/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/DubboShutdownHook.java
@@ -92,11 +92,11 @@ public class DubboShutdownHook extends Thread {
int timeout =
ConfigurationUtils.getServerShutdownTimeout(applicationModel);
if (timeout > 0) {
long start = System.currentTimeMillis();
- /**
- * To avoid shutdown conflicts between Dubbo and Spring,
- * wait for the modules bound to Spring to be handled by
Spring util timeout.
+ /*
+ To avoid shutdown conflicts between Dubbo and Spring,
+ wait for the modules bound to Spring to be handled by Spring
until timeout.
*/
- logger.info("Waiting for modules managed by Spring to be shut
down.");
+ logger.info("Waiting for modules managed by Spring to be
shutdown.");
while (!applicationModel.isDestroyed() && hasModuleBindSpring
&& (System.currentTimeMillis() - start) < timeout) {
try {