8000 [Session][3.0] PdoSessionHandler: precalculate expiry timestamp · Issue #13955 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
8000
[Session][3.0] PdoSessionHandler: precalculate expiry timestamp #13955
Closed
@Tobion

Description

@Tobion

Based on #13858 we should make the following BC break in 3.0 to speed up garbage collection in PdoSessionHandler.

  1. rename sess_lifetime column to sess_exipiry
  2. save time + lifetime in sess_exipiry
  3. probably add an index on sess_exipiry
  4. change gc() to delete by sess_exipiry

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0