mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-06-19 13:52:29 +00:00
See the discussion here: https://github.com/overhangio/tutor/pull/984 And the upstream PR here: https://github.com/openedx/edx-platform/pull/34210 The tl;dr is that the Redis course structure cache was growing without bounds. While the upstream fix should resolve that issue, we decided that Tutor should have a maxmemory limit and an eviction policy set for operational safety. Thus, Redis now has a 4gb maxmemory. If you need more memory on your instance, you should implement the "redis-conf" patch. To manually expire existing keys, run: tutor local run cms ./manage.py cms shell -c "from django.core.cache import caches; c = caches['course_structure_cache']; [c.expire(key, 604800) for key in c.keys('*')]"
5 lines
384 B
Markdown
5 lines
384 B
Markdown
- 💥[Bugfix] Prevent infinite growth of course structure cache in Redis. (by @regisb)
|
|
- Redis is now configured with a maximum memory size of 4GB. If this is too low for your platform, you should increase this value using the new "redis-conf" patch.
|
|
- Make sure that course structure cache keys have an actual timeout.
|
|
- [Feature] Introduce the "redis-conf" patch. (by @regisb)
|