Closed
Description
Preconditions (*)
Magento 2.2.x & 2.3.x & 2.4-develop
Steps to reproduce (*)
- Configure store to save session in DB(edit
env.php
)
- Change
Admin Session Lifetime
to 60s for example - Flush cache and logout
- Login again and check data in DB
session
table(note the last added data about your session) - Wait 1 minute and click somewhere in admin
- Redirect to login page
- Login again
- Check data again
Expected result (*)
- Expired sessions were deleted.
Actual result (*)
- Tons of old entries in "sessions" table
Additional information
Garbage collect is there, but seems to be never called:
shall we make a PR to add this to the core?
Metadata
Metadata
Assignees
Labels
Gate 2 Passed. Manual verification of the issue description passedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 1 Passed. Automatic verification of issue format passedGate 4. Acknowledged. Issue is added to backlog and ready for developmentOnce P0 defects have been fixed, a defect having this priority is the next candidate for fixing.Indicates original Magento version for the Issue report.The issue has been reproduced on latest 2.4-develop branchAffects critical data or functionality and forces users to employ a workaround.Issue related to Developer Experience and needs help with Triage to Confirm or Reject it
Type
Projects
Status
Done