瀏覽代碼

修复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
 spring.mvc.static-path-pattern=/static/**
+spring.mvc.servlet.load-on-startup=0
 spring.resources.static-locations=classpath:/static/
 
 ### freemarker