build: commons.properties

This commit is contained in:
CaptainB 2023-04-18 15:09:22 +08:00
parent b32e12aefc
commit ab749143be
1 changed files with 8 additions and 10 deletions

View File

@ -1,9 +1,15 @@
spring.application.name=metersphere
server.port=8081
management.server.port=7071
server.port=8081
# ?? gzip ??
server.compression.enabled=true
server.compression.mime-types=application/json,application/xml,text/html,text/xml,text/plain,application/javascript,text/css,text/javascript,image/jpeg
server.compression.min-response-size=2048
#
quartz.enabled=true
quartz.scheduler-name=msScheduler
quartz.thread-count=10
quartz.properties.org.quartz.jobStore.acquireTriggersWithinLock=true
#
logging.file.path=/opt/metersphere/logs/metersphere
# Hikari
@ -48,10 +54,6 @@ mybatis.configuration.default-statement-timeout=25000
mybatis.configuration.map-underscore-to-camel-case=true
# view
spring.mvc.throw-exception-if-no-handler-found=true
# ?? gzip ??
server.compression.enabled=true
server.compression.mime-types=application/json,application/xml,text/html,text/xml,text/plain,application/javascript,text/css,text/javascript,image/jpeg
server.compression.min-response-size=2048
# flyway enable
spring.flyway.enabled=false
spring.flyway.baseline-on-migrate=true
@ -84,8 +86,6 @@ kafka.ssl.provider=
kafka.ssl.truststore-type=
# jmeter
jmeter.home=/opt/jmeter
quartz.thread-count=10
quartz.properties.org.quartz.jobStore.acquireTriggersWithinLock=true
# file upload
spring.servlet.multipart.max-file-size=500MB
spring.servlet.multipart.max-request-size=500MB
@ -94,10 +94,8 @@ spring.messages.basename=i18n/messages,i18n/api,i18n/load,i18n/project,i18n/syst
# actuator
management.endpoints.web.exposure.include=*
management.endpoints.enabled-by-default=false
#spring.freemarker.checkTemplateLocation=false
spring.session.timeout=43200s
#
# redisson
spring.session.timeout=43200s
spring.redis.redisson.file=file:/opt/metersphere/conf/redisson.yml
spring.session.redis.repository-type=indexed
#