You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PHP's inline session garbage collection performs a single bulk DELETE,
which causes lock contention, Galera write-set overflows, and can lead
to unbounded session table growth and PHP-FPM saturation on large datasets.
This change introduces `SessionCleaner` to delete expired sessions in batches.
It provides a new `session:cleanup` console command for robust cron-based
cleanup and configures the `Handler::gc()` to also use limited batched deletion.
Requires an index on the `expiresAt` column for efficient deletion.