Skip to content

Commit

Permalink
session are now automatically deleted after 7 days of user inactivity (
Browse files Browse the repository at this point in the history
  • Loading branch information
stanoMilan committed Jul 1, 2020
1 parent c955aa1 commit 2fbafaa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions project-base/config/packages/snc_redis.yaml
Expand Up @@ -36,4 +36,5 @@ snc_redis:
dsn: 'redis://%redis_host%'
session:
client: 'session'
ttl: 604800
prefix: '%env(REDIS_PREFIX)%session:'
4 changes: 4 additions & 0 deletions upgrade/UPGRADE-v9.0.1-dev.md
Expand Up @@ -20,3 +20,7 @@ There you can find links to upgrade notes for other versions too.

- fix exporting of JavaScript translations ([#1880](https://github.com/shopsys/shopsys/pull/1880))
- see #project-base-diff to update your project

- enable automatic deleting of sessions older than 7 days in Redis ([#1842](https://github.com/shopsys/shopsys/pull/1842))
- see #project-base-diff to update your project
- you should consider what to do with current sessions, if you want to keep them, set them TTL or delete them

0 comments on commit 2fbafaa

Please sign in to comment.