mirror of
https://github.com/moodle/moodle.git
synced 2025-02-25 12:33:18 +01:00
Currently, the cache_cron_task is set to look for 'sess_' as a key prefix, which is not used in any code. As a result, sessions that have exceeded the timeout are never deleted. The proposed patch involves changing the prefix to the LASTACCESS key prefix and fixing the return value of get_many in the Redis cache so that it can return the required keys. Co-authored-by: Renaud Lemaire <rlemaire@cblue.be>