Understanding Garbage Collection
-
Hello – I’m currently testing the plugin (v3.0.3) and had some questions about garbage collection. As I understand it, sessions should be deleted based on my php.ini settings. My current settings are the default php7.x settings which include:
session.gc_maxlifetime = 1440
session.cache_expire = 180In looking at the wp_sm_sessions table it appears that none of the sessions are being deleted, even after 6+ hours and subsequent visits to the site which successfully create new sessions and records in the database.
The behavior I was expecting would be that records in the database older than 180 minutes would be deleted.
Am I understanding this correctly? Or is there something else that needs to be done to enable garbage collection.
- The topic ‘Understanding Garbage Collection’ is closed to new replies.