我在www.example.com中配置了tomcat maxthreads和corethreadsapplication.properties,我在控制台日志中打印了executor.getMaxPoolSize()和executor.getCorePoolSize(),但每个server.tomcat.xxxx属性都没有,除了server.port。我该如何解决?
server.port=8081
server.tomcat.threads.max=200
server.tomcat.threads.core=20
server.tomcat.connection-timeout=80000
1条答案
按热度按时间m1m5dgzv1#
executor.getMaxPoolSize()和executor.getCorePoolSize()是错误的方式。application.properties是工作