爬虫管理系统设置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: server:
port: 8081 port: 8081
servlet:
session:
timeout: 1D
spring: spring:
profiles: profiles:
@ -19,3 +22,6 @@ crawl:
thread: 1 thread: 1

View File

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