Explorar el Código

Merge remote-tracking branch 'refs/remotes/origin/master'

zhaohaipeng hace 1 día
padre
commit
a11cd791bf
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  1. 6 0
      recommend-feature-service/src/main/resources/application.yml

+ 6 - 0
recommend-feature-service/src/main/resources/application.yml

@@ -1,8 +1,14 @@
 spring:
+  lifecycle:
+    timeout-per-shutdown-phase: 30s
   profiles:
     active: dev
   application:
     name: recommend-feature
+
+server:
+  shutdown: graceful
+
 logging:
   file:
     path: /datalog/weblog/${spring.application.name}/