From 36f6b35c0986415516204eb27c2a3a1ebd49135f Mon Sep 17 00:00:00 2001 From: Arpit Mohan Date: Tue, 7 Jan 2020 13:05:44 +0530 Subject: [PATCH] Increasing the redis inactive session timeout to 30 days Now when a user doesn't log into the Appsmith system for 30 days, they will get logged out. --- .../java/com/appsmith/server/configurations/RedisConfig.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/configurations/RedisConfig.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/configurations/RedisConfig.java index a8353b7b0a..5bc038e7b0 100644 --- a/app/server/appsmith-server/src/main/java/com/appsmith/server/configurations/RedisConfig.java +++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/configurations/RedisConfig.java @@ -14,8 +14,8 @@ import org.springframework.session.data.redis.config.annotation.web.server.Enabl @Configuration @Slf4j -// Setting the maxInactiveInterval to 1 day -@EnableRedisWebSession(maxInactiveIntervalInSeconds = 86400) +// Setting the maxInactiveInterval to 30 days +@EnableRedisWebSession(maxInactiveIntervalInSeconds = 2592000) public class RedisConfig { /**