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:
parent
c502ae350e
commit
2459e7d736
5 changed files with 188 additions and 11 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue