wangwei 7 år sedan
förälder
incheckning
a5897201d2

+ 3 - 1
examcloud-core-basic-starter/src/main/resources/application-dev.properties

@@ -13,4 +13,6 @@ spring.rabbitmq.username=examcloud
 spring.rabbitmq.password=examcloud
 spring.rabbitmq.listener.acknowledgeMode=MANUAL
 
-staticResource.rootPath=/home/qmth/project/examcloud/static
+staticResource.rootPath=/home/qmth/project/examcloud/static
+
+$core.basic.sessionTimeout=600

+ 2 - 0
examcloud-core-basic-starter/src/main/resources/application-prod.properties

@@ -19,3 +19,5 @@ hystrix.threadpool.default.coreSize = 500
 
 staticResource.rootPath=/home/qmth/project/examcloud/static
 
+$core.basic.sessionTimeout=3600
+

+ 3 - 1
examcloud-core-basic-starter/src/main/resources/application-test.properties

@@ -15,4 +15,6 @@ spring.rabbitmq.username=examcloud
 spring.rabbitmq.password=examcloud
 spring.rabbitmq.listener.acknowledgeMode=MANUAL
 
-staticResource.rootPath=/home/qmth/project/examcloud/static
+staticResource.rootPath=/home/qmth/project/examcloud/static
+
+$core.basic.sessionTimeout=3600