mirror of https://github.com/zulip/zulip.git
Fix database cache settings for !DEPLOYED systems.
(imported from commit 0805c17a6bc5d0f1438d6fd1b1ce739d1162d09e)
This commit is contained in:
parent
3c6d489064
commit
967743ddab
|
@ -303,10 +303,6 @@ if DEPLOYED:
|
|||
'LOCATION': '127.0.0.1:11211',
|
||||
'TIMEOUT': 3600
|
||||
},
|
||||
'database': {
|
||||
'BACKEND': 'django.core.cache.backends.db.DatabaseCache',
|
||||
'LOCATION': 'third_party_api_results'
|
||||
},
|
||||
}
|
||||
SESSION_ENGINE = "django.contrib.sessions.backends.cached_db"
|
||||
else:
|
||||
|
@ -318,6 +314,10 @@ else:
|
|||
'MAX_ENTRIES': 100000
|
||||
}
|
||||
} }
|
||||
CACHES['database'] = {
|
||||
'BACKEND': 'django.core.cache.backends.db.DatabaseCache',
|
||||
'LOCATION': 'third_party_api_results'
|
||||
}
|
||||
|
||||
LOGGING = {
|
||||
'version': 1,
|
||||
|
|
Loading…
Reference in New Issue