Skip to content

Commit

Permalink
fix (api): code review #678
Browse files Browse the repository at this point in the history
  • Loading branch information
fsamin committed Jun 6, 2017
1 parent 81ba2f2 commit 228bc89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/api/sessionstore/redis.go
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down

0 comments on commit 228bc89

Please sign in to comment.