mirror of https://github.com/zulip/zulip.git
Set the database cache's to essentially never timeout.
(imported from commit f6fdbfe52536c5458130db3a907b8b8f81163fa4)
This commit is contained in:
parent
9920dcd22a
commit
710358db8c
|
@ -317,6 +317,9 @@ else:
|
||||||
CACHES['database'] = {
|
CACHES['database'] = {
|
||||||
'BACKEND': 'django.core.cache.backends.db.DatabaseCache',
|
'BACKEND': 'django.core.cache.backends.db.DatabaseCache',
|
||||||
'LOCATION': 'third_party_api_results',
|
'LOCATION': 'third_party_api_results',
|
||||||
|
# Basically never timeout. Setting to 0 isn't guaranteed
|
||||||
|
# to work, see https://code.djangoproject.com/ticket/9595
|
||||||
|
'TIMEOUT': 2000000000,
|
||||||
'OPTIONS': {
|
'OPTIONS': {
|
||||||
'MAX_ENTRIES': 100000000,
|
'MAX_ENTRIES': 100000000,
|
||||||
'CULL_FREQUENCY': 10,
|
'CULL_FREQUENCY': 10,
|
||||||
|
|
Loading…
Reference in New Issue