style(配置): 优化配置
This commit is contained in:
parent
13084ba881
commit
d9779fb181
@ -30,7 +30,7 @@ public class TaskController {
|
||||
private ElasticsearchClient elasticsearchClient;
|
||||
|
||||
|
||||
@Scheduled(initialDelay = 1000 * 60 * 60 * 24, fixedRate = Long.MAX_VALUE)
|
||||
@Scheduled(fixedRate = Long.MAX_VALUE)
|
||||
public void updateElasticSearch() {
|
||||
|
||||
try {
|
||||
|
@ -36,6 +36,7 @@ spring.servlet.multipart.enabled=true
|
||||
|
||||
spring.main.allow-bean-definition-overriding=true
|
||||
|
||||
# mybatis-plus 配置
|
||||
mybatis-plus.config-locations=classpath:mybatis-config.xml
|
||||
mybatis-plus.mapper-locations=classpath:mapper/*.xml
|
||||
mybatis-plus.type-aliases-package=com.qiwenshare.file.domain
|
||||
@ -74,9 +75,6 @@ fdfs.pool.max-wait-millis=5000
|
||||
fdfs.tracker-list=127.0.0.1:22122
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# Redis数据库索引(默认为0)
|
||||
spring.redis.database=0
|
||||
# Redis服务器地址
|
||||
@ -96,13 +94,6 @@ spring.redis.lettuce.pool.min-idle=10
|
||||
#连接超时时间(毫秒)
|
||||
spring.redis.timeout=5000
|
||||
|
||||
|
||||
spring.data.elasticsearch.client.reactive.endpoints=127.0.0.1:9200
|
||||
spring.elasticsearch.rest.uris=127.0.0.1:9200
|
||||
spring.elasticsearch.rest.username=
|
||||
spring.elasticsearch.rest.password=
|
||||
|
||||
|
||||
#异步线程池
|
||||
#异步线程池组件开关,默认false
|
||||
spring.async-thread-pool.enable=true
|
||||
|
Loading…
Reference in New Issue
Block a user