Skip to content

Commit

Permalink
build: update local cache backend to pymemcache (openedx#4079)
Browse files Browse the repository at this point in the history
  • Loading branch information
UsamaSadiq authored Sep 18, 2023
1 parent 1436d08 commit 0064b85
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion course_discovery/settings/local.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@
# See: https://docs.djangoproject.com/en/dev/ref/settings/#caches
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
'BACKEND': 'django.core.cache.backends.memcached.PyMemcacheCache',
'LOCATION': '127.0.0.1:11211',
'OPTIONS': {"no_delay": True, "ignore_exc": True, "use_pooling": True},
}
}
# END CACHE CONFIGURATION
Expand Down

0 comments on commit 0064b85

Please sign in to comment.