fix: 配置文件修改
This commit is contained in:
@@ -6,7 +6,8 @@ spring:
|
|||||||
freemarker:
|
freemarker:
|
||||||
check-template-location: false
|
check-template-location: false
|
||||||
profiles:
|
profiles:
|
||||||
active: dev
|
# active: dev
|
||||||
|
active: prod
|
||||||
jackson:
|
jackson:
|
||||||
time-zone: GMT+8
|
time-zone: GMT+8
|
||||||
data:
|
data:
|
||||||
@@ -51,8 +52,8 @@ spring:
|
|||||||
monitorInterval: 8
|
monitorInterval: 8
|
||||||
tomcatTp: # tomcat webserver 线程池配置
|
tomcatTp: # tomcat webserver 线程池配置
|
||||||
threadPoolAliasName: tomcat 线程池 # 线程池别名,可选
|
threadPoolAliasName: tomcat 线程池 # 线程池别名,可选
|
||||||
corePoolSize: 100
|
corePoolSize: 10
|
||||||
maximumPoolSize: 200
|
maximumPoolSize: 50
|
||||||
keepAliveTime: 60
|
keepAliveTime: 60
|
||||||
runTimeout: 10000
|
runTimeout: 10000
|
||||||
queueTimeout: 100
|
queueTimeout: 100
|
||||||
|
|||||||
@@ -113,7 +113,6 @@ https://juejin.cn/post/6844903775631572999
|
|||||||
<!--生产环境:打印控制台和输出到文件-->
|
<!--生产环境:打印控制台和输出到文件-->
|
||||||
<springProfile name="prod">
|
<springProfile name="prod">
|
||||||
<root level="info">
|
<root level="info">
|
||||||
<appender-ref ref="CONSOLE"/>
|
|
||||||
<appender-ref ref="asyncLuceneAppender"/>
|
<appender-ref ref="asyncLuceneAppender"/>
|
||||||
<appender-ref ref="asyncFileAppender"/>
|
<appender-ref ref="asyncFileAppender"/>
|
||||||
</root>
|
</root>
|
||||||
|
|||||||
Reference in New Issue
Block a user