Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Increse the default cache timeout to a month

Roland Geiderfb9651f449b3
diff --git a/wger/settings_global.py b/wger/settings_global.py
index 7dd069c28..a2ecd0ce3 100644
--- a/wger/settings_global.py
+++ b/wger/settings_global.py
@@ -275,6 +275,6 @@ CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
'LOCATION': 'wger-cache',
- 'TIMEOUT': 43200
+ 'TIMEOUT': 30 * 24 * 60 * 60, # Cache for a month
}
}