Skip to content

armgit / meet

Public Imported from GitHub
0

Open source video conferencing app powered by LiveKit. Built with Django and React.

♻️(backend) make SESSION_ENGINE configurable via environment variable

Michel-Marie MAUDET4d98ed49779f
diff --git a/CHANGELOG.md b/CHANGELOG.md
index c409e9c6..641c535f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -10,6 +10,7 @@ and this project adheres to
### Changed
+- ♻️(backend) configurable SESSION_ENGINE #1038 #1154
- ♿️(frontend) fix sidepanel accessibility aria-label #1182
- ♿️(frontend) fix more tools heading hierarchy #1181
- ♿️(fronted) improve button descriptions for More tools actions #1184
diff --git a/src/backend/meet/settings.py b/src/backend/meet/settings.py
index f6768ea0..fa689dfa 100755
--- a/src/backend/meet/settings.py
+++ b/src/backend/meet/settings.py
@@ -452,7 +452,11 @@ class Base(Configuration):
CELERY_BROKER_TRANSPORT_OPTIONS = values.DictValue({}, environ_prefix=None)
# Session
- SESSION_ENGINE = "django.contrib.sessions.backends.cache"
+ SESSION_ENGINE = values.Value(
+ default="django.contrib.sessions.backends.cache",
+ environ_name="SESSION_ENGINE",
+ environ_prefix=None,
+ )
SESSION_CACHE_ALIAS = "default"
SESSION_COOKIE_AGE = values.PositiveIntegerValue(
default=60 * 60 * 12, environ_name="SESSION_COOKIE_AGE", environ_prefix=None