Commit a0a23d38 by wangxinzhe

修改配置文件

1 parent 80fd39ec
...@@ -6,6 +6,7 @@ After=network.target ...@@ -6,6 +6,7 @@ After=network.target
Type=simple Type=simple
User=${CURRENT_USER} User=${CURRENT_USER}
Group=${CURRENT_USER_GROUP} Group=${CURRENT_USER_GROUP}
EnvironmentFile=-/etc/vion.env
WorkingDirectory=${SERVICE_RUN_DIR} WorkingDirectory=${SERVICE_RUN_DIR}
ExecStart=${_SPUG_GLOBAL_CONFIG_JRE21_EXECUTE_FILE} ${SERVICE_JAR_RUN_PARAMS} -jar ${SERVICE_RUN_DIR}/${SERVICE_JAR_FILE_NAME} --spring.profiles.active=pro ExecStart=${_SPUG_GLOBAL_CONFIG_JRE21_EXECUTE_FILE} ${SERVICE_JAR_RUN_PARAMS} -jar ${SERVICE_RUN_DIR}/${SERVICE_JAR_FILE_NAME} --spring.profiles.active=pro
......
...@@ -3,14 +3,14 @@ server.port=${SERVICE_SERVER_PORT} ...@@ -3,14 +3,14 @@ server.port=${SERVICE_SERVER_PORT}
spring.jackson.time-zone=GMT+8 spring.jackson.time-zone=GMT+8
spring.jackson.date-format=yyyy-MM-dd HH:mm:ss spring.jackson.date-format=yyyy-MM-dd HH:mm:ss
# es # es
spring.elasticsearch.uris=${_SPUG_SERVICE_ELASTICSEARCH_URIS} spring.elasticsearch.uris=${_SPUG_SERVICE_ELASTICSEARCH_URIS_MATCH}
spring.elasticsearch.username=${_SPUG_SERVICE_ELASTICSEARCH_USERNAME} spring.elasticsearch.username=${_SPUG_SERVICE_ELASTICSEARCH_USERNAME_MATCH}
spring.elasticsearch.password=${_SPUG_SERVICE_ELASTICSEARCH_PASSWORD} spring.elasticsearch.password=${_SPUG_SERVICE_ELASTICSEARCH_PASSWORD_MATCH}
spring.elasticsearch.ioThreadCount=20 spring.elasticsearch.ioThreadCount=100
spring.elasticsearch.maxConnTotal=100 spring.elasticsearch.maxConnTotal=200
spring.elasticsearch.maxConnPerRoute=20 spring.elasticsearch.maxConnPerRoute=100
spring.elasticsearch.socketTimeout=5000 spring.elasticsearch.socketTimeout=5000
vion.index.number_of_shards=1 vion.index.number_of_shards=2
vion.index.number_of_replicas=0 vion.index.number_of_replicas=0
delete.after.days=3 delete.after.days=3
server.tomcat.max-threads=500 server.tomcat.max-threads=500
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!