Browse Source

Merge pull request #1344 from zhipingwu/bugfix-load-on-start-up-20191208

修复bug: 管理器端第一次应该立即加载dispatcher,避免启动后第一次register导致timeout
许雪里 5 years ago
parent
commit
7e47364f37
1 changed files with 1 additions and 0 deletions
  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