mirror of
https://github.com/evennia/evennia.git
synced 2026-04-03 14:37:17 +02:00
Adds cache definition to settings.
This commit is contained in:
parent
8219a1db28
commit
92c41a721c
1 changed files with 15 additions and 0 deletions
|
|
@ -866,6 +866,21 @@ WEBCLIENT_OPTIONS = {
|
|||
# messages
|
||||
}
|
||||
|
||||
# Django cache settings
|
||||
# https://docs.djangoproject.com/en/dev/topics/cache/#setting-up-the-cache
|
||||
CACHES = {
|
||||
'default': {
|
||||
'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
|
||||
},
|
||||
'throttle': {
|
||||
'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
|
||||
'TIMEOUT': 60 * 5,
|
||||
'OPTIONS': {
|
||||
'MAX_ENTRIES': 2000
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# We setup the location of the website template as well as the admin site.
|
||||
TEMPLATES = [
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue