1
1
Fork 0
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2024-05-26 16:36:04 +02:00

Fix pymemcache client errors with django

This commit is contained in:
Jelle van der Waa 2021-10-02 14:07:25 +02:00
parent 0bd66f1868
commit 9a9113d1b1
No known key found for this signature in database
GPG Key ID: C06086337C50773E

View File

@ -40,6 +40,13 @@ CACHES = {
'default': {
'BACKEND' : 'django.core.cache.backends.memcached.PyMemcacheCache',
'LOCATION': 'unix:/run/memcached/archweb.sock',
'OPTIONS': {
'no_delay': True,
'max_pool_size': 4,
'use_pooling': True,
'ignore_exc': True,
}
}
}