فهرست منبع

修复bug: 管理器端第一次应该立即加载dispatcher,避免启动后第一次register导致timeout

wuzhiping 5 سال پیش
والد
کامیت
7234613892
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      xxl-job-admin/src/main/resources/application.properties

+ 1 - 0
xxl-job-admin/src/main/resources/application.properties

@@ -8,6 +8,7 @@ management.health.mail.enabled=false
 
 
 ### resources
 ### resources
 spring.mvc.static-path-pattern=/static/**
 spring.mvc.static-path-pattern=/static/**
+spring.mvc.servlet.load-on-startup=0
 spring.resources.static-locations=classpath:/static/
 spring.resources.static-locations=classpath:/static/
 
 
 ### freemarker
 ### freemarker