Skip to content
This repository has been archived by the owner on Jan 4, 2020. It is now read-only.

Commit

Permalink
Merge pull request #43 from emanuelschuetze/redis-sessions
Browse files Browse the repository at this point in the history
Use new settings format for django-redis-sessions
  • Loading branch information
emanuelschuetze authored Aug 15, 2018
2 parents 645f7e4 + 1d81cde commit 6fdff49
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions roles/openslides-add-instance/templates/settings.py.j2
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,11 @@ CACHES = {
}

SESSION_ENGINE = 'redis_sessions.session'
SESSION_REDIS_HOST = '172.16.28.1'
SESSION_REDIS_PORT = 6379
SESSION_REDIS_DB = 0
SESSION_REDIS = {
'host': '172.16.28.1',
'port': '6379',
'db': 0,
}

# The restricted data cache caches the data individual for each user.
# This requires a lot of memory if there are a lot of active users.
Expand Down

0 comments on commit 6fdff49

Please sign in to comment.