Totara Perform Open Discussions

Question about Redis Connection Persistence

 
SBalasubramani
Question about Redis Connection Persistence
SBalasubramani 发表于 2026年02月15日 Sunday 23:25
小组 Partners

Hi Totara team,

In my Totara application, I’ve noticed that sometimes the Redis connection gets disconnected. I would like to get some information: does Totara support persistent Redis connections?

Thank you for your help.

WoodTom
Re: Question about Redis Connection Persistence
WoodTom 发表于 2026年03月6日 Friday 01:21
小组 Totara

Hi- have you checked our documentation on Caching: https://totara.help/docs/caching

If you want to use Redis as a session store you need to set the correct values in the config file ($CFG->session_redis_*). You can find more details in the config-dist.php file.

Cheers

Tom