1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-08-10 15:45:20 +02:00

feat: integrate memcached for caching in Wanderer services; update Docker, settings, and supervisord configurations

This commit is contained in:
Sean Morley 2025-08-05 18:37:00 -04:00
parent c502ae350e
commit 2459e7d736
5 changed files with 188 additions and 11 deletions

View file

@ -88,7 +88,9 @@ ACCOUNT_EMAIL_VERIFICATION = 'none'
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
'BACKEND': 'django.core.cache.backends.memcached.PyMemcacheCache',
'LOCATION': '127.0.0.1:11211',
'TIMEOUT': 60 * 60 * 24, # Optional: 1 day cache
}
}