From 228bc89fa414c9100adbfefd345cbe8874c0b8fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Samin?= Date: Tue, 6 Jun 2017 10:48:21 +0200 Subject: [PATCH] fix (api): code review #678 --- engine/api/sessionstore/redis.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/api/sessionstore/redis.go b/engine/api/sessionstore/redis.go index b0002bf80f..558755b318 100644 --- a/engine/api/sessionstore/redis.go +++ b/engine/api/sessionstore/redis.go @@ -19,7 +19,7 @@ type Redis struct { //Keep redis in good health and remove HSet for expired session func (s *Redis) vacuumCleaner(c context.Context) { - tick := time.NewTicker(5 * time.Second).C + tick := time.NewTicker(5 * time.Minute).C for { select { case <-c.Done():