爬虫管理系统设置session默认超时时间为1天,解决由于编写爬虫规则时间过长导致的提交失败问题

This commit is contained in:
xiongxiaoyang 2021-01-05 21:45:04 +08:00
parent 7cc7d8b541
commit a00a2141f2
2 changed files with 7 additions and 1 deletions

View File

@ -1,6 +1,9 @@
#端口号
server:
port: 8081
servlet:
session:
timeout: 1D
spring:
profiles:
@ -19,3 +22,6 @@ crawl:
thread: 1

View File

@ -21,7 +21,7 @@ spring:
elasticsearch:
#是否开启搜索引擎1开启0不开启
enable: 0
enable: 1
jest:
uris: http://192.168.0.105:9200