6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-11-16 10:05:18 +00:00
tutor/docs
Régis Behmo 59b1987ff1 fix: infinite cache growth
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('*')]"
2024-02-19 09:43:40 +01:00
..
_ext feat: migrate to plugins.v1 with filters & actions 2022-04-15 15:30:54 +02:00
download docs: wrap tutor[full] in quotes for zsh compatibility 2022-04-15 09:20:21 +02:00
img docs: update logos 2023-12-14 15:29:39 +01:00
plugins docs: fix google analytics example 2024-01-22 13:25:01 +01:00
reference fix: infinite cache growth 2024-02-19 09:43:40 +01:00
tutorials docs: add web proxy instructions for podman rootless mode 2023-12-14 14:54:27 +01:00
.gitignore Migrate openedx-docker project to Tutor 👩‍🏫 2018-12-26 19:27:08 +01:00
conf.py docs: update logos 2023-12-14 15:29:39 +01:00
configuration.rst docs: fix minor issues 2024-01-12 11:50:24 +01:00
dev.rst feat: upgrade to quince 2023-12-11 20:41:32 +01:00
faq.rst feat: upgrade to quince 2023-12-11 20:41:32 +01:00
gettingstarted.rst feat: upgrade to olive 2022-12-12 16:55:07 +01:00
index.rst docs: update logos 2023-12-14 15:29:39 +01:00
install.rst feat: upgrade to quince 2023-12-11 20:41:32 +01:00
intro.rst docs: demo.openedx.edly.io -> sandbox.openedx.edly.io 2023-12-21 10:01:07 +01:00
k8s.rst docs: tutor uses docker compose now, not docker-compose 2023-08-28 09:48:42 +02:00
local.rst docs: tutor uses docker compose now, not docker-compose 2023-08-28 09:48:42 +02:00
Makefile feat: strongly typed hooks 2022-11-15 14:58:36 +01:00
quickstart.rst feat: upgrade to quince 2023-12-11 20:41:32 +01:00
run.rst docs: build docs in CI (and be nitpicky about it) 2021-10-14 12:59:57 +02:00
testimonials.rst v10.0.0 Upgrade to Juniper (2020-06-15) 2020-06-15 10:19:07 +02:00
troubleshooting.rst docs: docs.tutor.overhang.io -> docs.tutor.edly.io 2023-12-05 11:46:56 +01:00
tutor.rst doc: update steps to release a new version 2024-01-23 10:36:48 +01:00
whatnext.rst docs: overhang.io -> edly references 2023-10-17 08:37:52 +02:00