Commit 8da3370e by fengshuonan

更新注释

parent 423f0011
......@@ -7,7 +7,7 @@ import org.springframework.context.annotation.Bean;
import org.springframework.scheduling.quartz.SchedulerFactoryBean;
/**
* 定时任务自动配置(需要定时任务的可以开注释)
* 定时任务自动配置(需要定时任务的可以开注释)
*
* @author fengshuonan
* @Date 2019/2/24 16:23
......
......@@ -18,11 +18,12 @@ package cn.stylefeng.guns.config;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
/**
* spring session配置
* spring session配置(需要的话放开注释)
*
* @author fengshuonan
* @date 2017-07-13 21:05
*/
//@Configuration
//@EnableRedisHttpSession(maxInactiveIntervalInSeconds = 1800) //session过期时间 如果部署多机环境,需要打开注释
@ConditionalOnProperty(prefix = "guns", name = "spring-session-open", havingValue = "true")
public class SpringSessionConfig {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment