From a00a2141f2837763409b7824e781b199dd3a691e Mon Sep 17 00:00:00 2001 From: xiongxiaoyang <773861846@qq.com> Date: Tue, 5 Jan 2021 21:45:04 +0800 Subject: [PATCH] =?UTF-8?q?=E7=88=AC=E8=99=AB=E7=AE=A1=E7=90=86=E7=B3=BB?= =?UTF-8?q?=E7=BB=9F=E8=AE=BE=E7=BD=AEsession=E9=BB=98=E8=AE=A4=E8=B6=85?= =?UTF-8?q?=E6=97=B6=E6=97=B6=E9=97=B4=E4=B8=BA1=E5=A4=A9=EF=BC=8C?= =?UTF-8?q?=E8=A7=A3=E5=86=B3=E7=94=B1=E4=BA=8E=E7=BC=96=E5=86=99=E7=88=AC?= =?UTF-8?q?=E8=99=AB=E8=A7=84=E5=88=99=E6=97=B6=E9=97=B4=E8=BF=87=E9=95=BF?= =?UTF-8?q?=E5=AF=BC=E8=87=B4=E7=9A=84=E6=8F=90=E4=BA=A4=E5=A4=B1=E8=B4=A5?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- novel-crawl/src/main/resources/application.yml | 6 ++++++ novel-front/src/main/resources/application.yml | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/novel-crawl/src/main/resources/application.yml b/novel-crawl/src/main/resources/application.yml index 394d285..132a14e 100644 --- a/novel-crawl/src/main/resources/application.yml +++ b/novel-crawl/src/main/resources/application.yml @@ -1,6 +1,9 @@ #端口号 server: port: 8081 + servlet: + session: + timeout: 1D spring: profiles: @@ -19,3 +22,6 @@ crawl: thread: 1 + + + diff --git a/novel-front/src/main/resources/application.yml b/novel-front/src/main/resources/application.yml index bd6fe69..52147d8 100644 --- a/novel-front/src/main/resources/application.yml +++ b/novel-front/src/main/resources/application.yml @@ -21,7 +21,7 @@ spring: elasticsearch: #是否开启搜索引擎,1:开启,0:不开启 - enable: 0 + enable: 1 jest: uris: http://192.168.0.105:9200