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
msshopsys authored and TomasLudvik committed Jun 30, 2020
1 parent 900e42c commit 3b01d43
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 @@ -11,3 +11,7 @@ There you can find links to upgrade notes for other versions too.

- fix not working upload of files in wysiwyg editor ([#1899](https://github.com/shopsys/shopsys/pull/1899))
- 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 3b01d43

Please sign in to comment.