xiongzhu %!s(int64=3) %!d(string=hai) anos
pai
achega
4f1092db58
Modificáronse 2 ficheiros con 5 adicións e 0 borrados
  1. 1 0
      pom.xml
  2. 4 0
      src/main/resources/application.yaml

+ 1 - 0
pom.xml

@@ -171,6 +171,7 @@
             <artifactId>springfox-swagger2</artifactId>
             <version>2.9.1</version>
         </dependency>
+
     </dependencies>
 
     <build>

+ 4 - 0
src/main/resources/application.yaml

@@ -2,6 +2,8 @@ server:
   port: 8088
   servlet:
     context_path: /
+    session:
+      timeout: 1d
   compression:
     enabled: true
     mime-types: application/json,application/xml,text/html,text/xml,text/plain
@@ -13,6 +15,8 @@ server:
     threads:
       max: 3000
     max-http-form-post-size: 100MB
+    connection-timeout: 1d
+    keep-alive-timeout: 1d
 spring:
   profiles:
     active: dev