update
This commit is contained in:
@@ -59,11 +59,32 @@ spring:
|
|||||||
wall:
|
wall:
|
||||||
config:
|
config:
|
||||||
multi-statement-allow: true
|
multi-statement-allow: true
|
||||||
|
redis:
|
||||||
|
# 地址
|
||||||
|
host: 124.243.245.42
|
||||||
|
# 端口,默认为6379
|
||||||
|
port: 5379
|
||||||
|
# 数据库索引
|
||||||
|
database: 5
|
||||||
|
# 密码
|
||||||
|
password: ZKR2024@@.com
|
||||||
|
# 连接超时时间
|
||||||
|
timeout: 10s
|
||||||
|
lettuce:
|
||||||
|
pool:
|
||||||
|
# 连接池中的最小空闲连接
|
||||||
|
min-idle: 0
|
||||||
|
# 连接池中的最大空闲连接
|
||||||
|
max-idle: 8
|
||||||
|
# 连接池的最大数据库连接数
|
||||||
|
max-active: 8
|
||||||
|
# #连接池最大阻塞等待时间(使用负值表示没有限制)
|
||||||
|
max-wait: -1ms
|
||||||
# easy-es
|
# easy-es
|
||||||
easy-es:
|
easy-es:
|
||||||
enable: true
|
enable: true
|
||||||
banner: false
|
banner: false
|
||||||
address: 127.0.0.1
|
address: 124.243.245.42:9200
|
||||||
global-config:
|
global-config:
|
||||||
process-index-mode: manual
|
process-index-mode: manual
|
||||||
db-config:
|
db-config:
|
||||||
|
@@ -52,7 +52,7 @@ spring:
|
|||||||
# 国际化资源文件路径
|
# 国际化资源文件路径
|
||||||
basename: i18n/messages
|
basename: i18n/messages
|
||||||
profiles:
|
profiles:
|
||||||
active: dev
|
active: local
|
||||||
# 文件上传
|
# 文件上传
|
||||||
servlet:
|
servlet:
|
||||||
multipart:
|
multipart:
|
||||||
|
@@ -51,7 +51,7 @@ public class ESJobSearchImpl implements IESJobSearchService
|
|||||||
/**
|
/**
|
||||||
* 项目启动时,初始化索引及数据
|
* 项目启动时,初始化索引及数据
|
||||||
*/
|
*/
|
||||||
@PostConstruct
|
// @PostConstruct
|
||||||
public void init()
|
public void init()
|
||||||
{
|
{
|
||||||
resetTextCache();
|
resetTextCache();
|
||||||
|
Reference in New Issue
Block a user